ActionBuilders.LaunchAction.Builder

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

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


Builder for ActionBuilders.LaunchAction.

Summary

Public methods

ActionBuilders.LaunchAction build()

Builds an instance with values accumulated in this Builder.

ActionBuilders.LaunchAction.Builder setAndroidActivity(ActionBuilders.AndroidActivity androidActivity)

Sets an action to launch an Android activity.

ActionBuilders.LaunchAction.Builder setAndroidActivity(ActionBuilders.AndroidActivity.Builder androidActivityBuilder)

Sets an action to launch an Android activity.

Inherited methods

Public methods

build

public ActionBuilders.LaunchAction build ()

Builds an instance with values accumulated in this Builder.

Returns
ActionBuilders.LaunchAction

setAndroidActivity

public ActionBuilders.LaunchAction.Builder setAndroidActivity (ActionBuilders.AndroidActivity androidActivity)

Sets an action to launch an Android activity.

Parameters
androidActivity ActionBuilders.AndroidActivity

Returns
ActionBuilders.LaunchAction.Builder

setAndroidActivity

public ActionBuilders.LaunchAction.Builder setAndroidActivity (ActionBuilders.AndroidActivity.Builder androidActivityBuilder)

Sets an action to launch an Android activity.

Parameters
androidActivityBuilder ActionBuilders.AndroidActivity.Builder

Returns
ActionBuilders.LaunchAction.Builder