Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder

public static abstract class ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder
extends Object

java.lang.Object
   ↳ androidx.enterprise.feedback.ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder


The builder for ReceivedKeyedAppState.

Summary

Public methods

abstract ReceivedKeyedAppState build()

Instantiate the ReceivedKeyedAppState.

abstract ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder setData(String data)

Set ReceivedKeyedAppState.getData().

abstract ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder setKey(String key)

Set ReceivedKeyedAppState.getKey().

abstract ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder setMessage(String message)

Set ReceivedKeyedAppState.getMessage().

abstract ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder setPackageName(String packageName)

Set ReceivedKeyedAppState.getPackageName().

abstract ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder setSeverity(int severity)

Set ReceivedKeyedAppState.getSeverity().

abstract ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder setTimestamp(long timestamp)

Set ReceivedKeyedAppState.getTimestamp().

Inherited methods

Public methods

build

public abstract ReceivedKeyedAppState build ()

Instantiate the ReceivedKeyedAppState.

Assumes the key and severity are set.

Returns
ReceivedKeyedAppState

setMessage

public abstract ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder setMessage (String message)

Set ReceivedKeyedAppState.getMessage().

Parameters
message String

Returns
ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder

setPackageName

public abstract ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder setPackageName (String packageName)

Set ReceivedKeyedAppState.getPackageName().

Parameters
packageName String

Returns
ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder

setSeverity

public abstract ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder setSeverity (int severity)

Set ReceivedKeyedAppState.getSeverity().

Parameters
severity int

Returns
ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder

setTimestamp

public abstract ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder setTimestamp (long timestamp)

Set ReceivedKeyedAppState.getTimestamp().

Parameters
timestamp long

Returns
ReceivedKeyedAppState.ReceivedKeyedAppStateBuilder