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#data().

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

Set ReceivedKeyedAppState#key().

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

Set ReceivedKeyedAppState#message().

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

Set ReceivedKeyedAppState#packageName().

abstract ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder
setSeverity(severity: Int)

Set ReceivedKeyedAppState#severity().

abstract ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder
setTimestamp(timestamp: Long)

Set ReceivedKeyedAppState#timestamp().

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#data().

setKey

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

Set ReceivedKeyedAppState#key().

setMessage

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

Set ReceivedKeyedAppState#message().

setPackageName

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

Set ReceivedKeyedAppState#packageName().

setSeverity

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

Set ReceivedKeyedAppState#severity().

setTimestamp

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

Set ReceivedKeyedAppState#timestamp().