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 |
Public methods | |
---|---|
static
ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder
|
builder()
Create a |
abstract
String
|
getData()
|
abstract
String
|
getKey()
|
abstract
String
|
getMessage()
|
abstract
String
|
getPackageName()
The name of the package which submitted the states. |
abstract
int
|
getSeverity()
|
abstract
long
|
getTimestamp()
The unix timestamp, in milliseconds, when the states were received. |
Inherited methods | |
---|---|
Public methods
builder
public static ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder builder ()
Create a ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder
.
Returns | |
---|---|
ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder |
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 |
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 |
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-02-24 UTC.