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
Nested types |
|---|
@AutoValue.BuilderThe builder for |
Public methods |
|
|---|---|
static @NonNull ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder |
builder()Create a |
abstract @Nullable String |
getData()See |
abstract @NonNull String |
getKey()See |
abstract @Nullable String |
See |
abstract @NonNull String |
The name of the package which submitted the states. |
abstract int |
See |
abstract long |
The unix timestamp, in milliseconds, when the states were received. |
Public methods
builder
public static @NonNull ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder builder()
Create a ReceivedKeyedAppStateBuilder.
getPackageName
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.
getTimestamp
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.