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

open static ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder

Create a ReceivedKeyedAppStateBuilder.

abstract String?

See KeyedAppState#data()

abstract String
key()

See KeyedAppState#key()

abstract String?

See KeyedAppState#message()

abstract String

The name of the package which submitted the states.

abstract Int

See KeyedAppState#severity()

abstract Long

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

Public methods

builder

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

Create a ReceivedKeyedAppStateBuilder.

data

@Nullable abstract fun data(): String?

See KeyedAppState#data()

key

@NonNull abstract fun key(): String

See KeyedAppState#key()

message

@Nullable abstract fun message(): String?

See KeyedAppState#message()

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.

severity

abstract fun severity(): Int

See KeyedAppState#severity()

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.