Register now for Android Dev Summit 2019!

ReceivedKeyedAppStateBuilder

abstract class ReceivedKeyedAppStateBuilder
kotlin.Any
   ↳ androidx.enterprise.feedback.ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder

The builder for ReceivedKeyedAppState.

Summary

Public methods

abstract ReceivedKeyedAppState

Instantiate the ReceivedKeyedAppState.

abstract ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder
setData(@Nullable data: String?)

Set ReceivedKeyedAppState#getData().

abstract ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder
setKey(@NonNull key: String)

Set ReceivedKeyedAppState#getKey().

abstract ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder
setMessage(@Nullable message: String?)

Set ReceivedKeyedAppState#getMessage().

abstract ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder
setPackageName(@NonNull packageName: String)

Set ReceivedKeyedAppState#getPackageName().

abstract ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder
setSeverity(severity: Int)

Set ReceivedKeyedAppState#getSeverity().

abstract ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder
setTimestamp(timestamp: Long)

Set ReceivedKeyedAppState#getTimestamp().

Public methods

build

@NonNull abstract fun build(): ReceivedKeyedAppState

Instantiate the ReceivedKeyedAppState.

Assumes the key and severity are set.

setData

@NonNull abstract fun setData(@Nullable data: String?): ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder

Set ReceivedKeyedAppState#getData().

setKey

@NonNull abstract fun setKey(@NonNull key: String): ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder

Set ReceivedKeyedAppState#getKey().

setMessage

@NonNull abstract fun setMessage(@Nullable message: String?): ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder

Set ReceivedKeyedAppState#getMessage().

setPackageName

@NonNull abstract fun setPackageName(@NonNull packageName: String): ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder

Set ReceivedKeyedAppState#getPackageName().

setSeverity

@NonNull abstract fun setSeverity(severity: Int): ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder

Set ReceivedKeyedAppState#getSeverity().

setTimestamp

@NonNull abstract fun setTimestamp(timestamp: Long): ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder

Set ReceivedKeyedAppState#getTimestamp().