ReceivedKeyedAppState

public abstract class ReceivedKeyedAppState
extends Object

java.lang.Object
   ↳ androidx.enterprise.feedback.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 classes

class ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder

The builder for ReceivedKeyedAppState

Public methods

static ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder builder()

Create a ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder.

abstract String data()

See KeyedAppState.data()

abstract String key()

See KeyedAppState.key()

abstract String message()

See KeyedAppState.message()

abstract String packageName()

The name of the package which submitted the states.

abstract int severity()

See KeyedAppState.severity()

abstract long timestamp()

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

Inherited methods

Public methods

data

public abstract String data ()

See KeyedAppState.data()

Returns
String

key

public abstract String key ()

See KeyedAppState.key()

Returns
String

message

public abstract String message ()

See KeyedAppState.message()

Returns
String

packageName

public abstract String packageName ()

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.

Returns
String

severity

public abstract int severity ()

See KeyedAppState.severity()

Returns
int

timestamp

public abstract long timestamp ()

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.

Returns
long