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

abstract String

See KeyedAppState#getKey()

abstract String?

See KeyedAppState#getMessage()

abstract String

The name of the package which submitted the states.

abstract Int

See KeyedAppState#getSeverity()

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.

getData

@Nullable abstract fun getData(): String?

See KeyedAppState#getData()

getKey

@NonNull abstract fun getKey(): String

See KeyedAppState#getKey()

getMessage

@Nullable abstract fun getMessage(): String?

See KeyedAppState#getMessage()

getPackageName

@NonNull abstract fun getPackageName(): 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.

getSeverity

abstract fun getSeverity(): Int

See KeyedAppState#getSeverity()

getTimestamp

abstract fun getTimestamp(): 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.