ActionBuilders.LoadAction.Builder

public final class ActionBuilders.LoadAction.Builder implements ActionBuilders.Action.Builder


Builder for LoadAction.

Summary

Public methods

@Override @NonNull ActionBuilders.LoadAction

Builds an instance with values accumulated in this Builder.

@NonNull ActionBuilders.LoadAction.Builder

Sets the state to load the next tile with.

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

Sets the state to load the next tile with.

Public methods

build

@Override
@NonNull
public @Override ActionBuilders.LoadAction build()

Builds an instance with values accumulated in this Builder.

setRequestState

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

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

setRequestState

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

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