ReceivedKeyedAppState

@AutoValue
public abstract class ReceivedKeyedAppState


A keyed app state received from an app. This contains all of the information added by the app to the KeyedAppState as well as the packageName and timestamp added when the state was received.

Summary

Public methods

static @NonNull ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder

Create a ReceivedKeyedAppStateBuilder.

abstract @Nullable String

See getData

abstract @NonNull String

See getKey

abstract @Nullable String

See getMessage

abstract @NonNull String

The name of the package which submitted the states.

abstract int

See getSeverity

abstract long

The unix timestamp, in milliseconds, when the states were received.

Public methods

getData

Added in 1.0.0
public abstract @Nullable String getData()

See getData

getKey

Added in 1.0.0
public abstract @NonNull String getKey()

See getKey

getMessage

Added in 1.0.0
public abstract @Nullable String getMessage()

See getMessage

getPackageName

Added in 1.0.0
public abstract @NonNull String getPackageName()

The name of the package which submitted the states.

This is automatically set to the correct value by the receiver; it is NOT self-reported by the app sending the feedback.

getSeverity

Added in 1.0.0
public abstract int getSeverity()

See getSeverity

getTimestamp

Added in 1.0.0
public abstract long getTimestamp()

The unix timestamp, in milliseconds, when the states were received.

This is automatically set to the correct value by the receiver; it is NOT self-reported by the app sending the feedback.