public abstract class

KeyedAppState.KeyedAppStateBuilder

extends java.lang.Object

 java.lang.Object

↳androidx.enterprise.feedback.KeyedAppState.KeyedAppStateBuilder

Overview

The builder for KeyedAppState.

Summary

Methods
public KeyedAppStatebuild()

Instantiate the KeyedAppState.

public abstract KeyedAppState.KeyedAppStateBuildersetData(java.lang.String data)

Set KeyedAppState.getData().

public abstract KeyedAppState.KeyedAppStateBuildersetKey(java.lang.String key)

Set KeyedAppState.getKey().

public abstract KeyedAppState.KeyedAppStateBuildersetMessage(java.lang.String message)

Set KeyedAppState.getMessage().

public abstract KeyedAppState.KeyedAppStateBuildersetSeverity(int severity)

Set KeyedAppState.getSeverity().

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public abstract KeyedAppState.KeyedAppStateBuilder setKey(java.lang.String key)

Set KeyedAppState.getKey().

public abstract KeyedAppState.KeyedAppStateBuilder setSeverity(int severity)

Set KeyedAppState.getSeverity().

public abstract KeyedAppState.KeyedAppStateBuilder setMessage(java.lang.String message)

Set KeyedAppState.getMessage().

public abstract KeyedAppState.KeyedAppStateBuilder setData(java.lang.String data)

Set KeyedAppState.getData().

public KeyedAppState build()

Instantiate the KeyedAppState.

Severity will default to KeyedAppState.SEVERITY_INFO if not set.

Assumes the key is set, key length is at most 100 characters, message length is as most 1000 characters, data length is at most 1000 characters, and severity is set to either KeyedAppState.SEVERITY_INFO or KeyedAppState.SEVERITY_ERROR.