ActionBuilders.LoadAction.Builder

public static final class ActionBuilders.LoadAction.Builder
extends Object implements ActionBuilders.Action.Builder

java.lang.Object
   ↳ androidx.wear.tiles.builders.ActionBuilders.LoadAction.Builder


Builder for ActionBuilders.LoadAction.

Summary

Public methods

ActionBuilders.LoadAction build()

Builds an instance with values accumulated in this Builder.

ActionBuilders.LoadAction.Builder setRequestState(StateBuilders.State.Builder requestStateBuilder)

Sets the state to load the next tile with.

ActionBuilders.LoadAction.Builder setRequestState(StateBuilders.State requestState)

Sets the state to load the next tile with.

Inherited methods

Public methods

build

public ActionBuilders.LoadAction build ()

Builds an instance with values accumulated in this Builder.

Returns
ActionBuilders.LoadAction

setRequestState

public ActionBuilders.LoadAction.Builder setRequestState (StateBuilders.State.Builder requestStateBuilder)

Sets the state to load the next tile with. This will be included in the TileRequest sent after this action is invoked by a ModifiersBuilders.Clickable.

Parameters
requestStateBuilder StateBuilders.State.Builder

Returns
ActionBuilders.LoadAction.Builder

setRequestState

public ActionBuilders.LoadAction.Builder setRequestState (StateBuilders.State requestState)

Sets the state to load the next tile with. This will be included in the TileRequest sent after this action is invoked by a ModifiersBuilders.Clickable.

Parameters
requestState StateBuilders.State

Returns
ActionBuilders.LoadAction.Builder