Register now for Android Dev Summit 2019!

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 getData()

See KeyedAppState.getData()

abstract String getKey()

See KeyedAppState.getKey()

abstract String getMessage()

See KeyedAppState.getMessage()

abstract String getPackageName()

The name of the package which submitted the states.

abstract int getSeverity()

See KeyedAppState.getSeverity()

abstract long getTimestamp()

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

Inherited methods

Public methods

getData

public abstract String getData ()

See KeyedAppState.getData()

Returns
String

getKey

public abstract String getKey ()

See KeyedAppState.getKey()

Returns
String

getMessage

public abstract String getMessage ()

See KeyedAppState.getMessage()

Returns
String

getPackageName

public abstract 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.

Returns
String

getSeverity

public abstract int getSeverity ()

See KeyedAppState.getSeverity()

Returns
int

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.

Returns
long