Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

ReceivedKeyedAppState

abstract class ReceivedKeyedAppState
kotlin.Any
   ↳ 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
abstract

The builder for ReceivedKeyedAppState.

Public methods
abstract Long

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

abstract String
key()

See KeyedAppState#key()

abstract Int

See KeyedAppState#severity()

abstract String

The name of the package which submitted the states.

abstract String?

See KeyedAppState#data()

abstract String?

See KeyedAppState#message()

open static ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder

Create a ReceivedKeyedAppStateBuilder.

Public methods

timestamp

abstract fun timestamp(): Long

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.

key

@NonNull abstract fun key(): String

See KeyedAppState#key()

severity

abstract fun severity(): Int

See KeyedAppState#severity()

packageName

@NonNull abstract fun packageName(): String

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.

data

@Nullable abstract fun data(): String?

See KeyedAppState#data()

message

@Nullable abstract fun message(): String?

See KeyedAppState#message()

builder

@NonNull open static fun builder(): ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder

Create a ReceivedKeyedAppStateBuilder.