actionStartActivity
Function
Android
public fun actionStartActivity(
    componentName: ComponentName,
    parameters: ActionParameters = actionParametersOf(),
): Action
Creates an Action that launches the Activity specified by the given ComponentName.
Parameters
| componentName | component of the activity to launch | 
| parameters | the parameters associated with the action. Parameter values will be added to the activity intent, keyed by the parameter key name string. | 
Android
@ExperimentalGlanceApi
public fun actionStartActivity(
    componentName: ComponentName,
    parameters: ActionParameters = actionParametersOf(),
    activityOptions: Bundle? = null,
): Action
Creates an Action that launches the Activity specified by the given ComponentName.
Parameters
| componentName | component of the activity to launch | 
| parameters | the parameters associated with the action. Parameter values will be added to the activity intent, keyed by the parameter key name string. | 
| activityOptions | Additional options built from an android.app.ActivityOptionsto apply to an activity start. | 
Android
public fun <T : Activity> actionStartActivity(
    activity: Class<T>,
    parameters: ActionParameters = actionParametersOf(),
): Action
Creates an Action that launches the specified Activity when triggered.
Parameters
| activity | class of the activity to launch | 
| parameters | the parameters associated with the action. Parameter values will be added to the activity intent, keyed by the parameter key name string. | 
Android
@ExperimentalGlanceApi
public fun <T : Activity> actionStartActivity(
    activity: Class<T>,
    parameters: ActionParameters = actionParametersOf(),
    activityOptions: Bundle? = null,
): Action
Creates an Action that launches the specified Activity when triggered.
Parameters
| activity | class of the activity to launch | 
| parameters | the parameters associated with the action. Parameter values will be added to the activity intent, keyed by the parameter key name string. | 
| activityOptions | Additional options built from an android.app.ActivityOptionsto apply to an activity start. | 
Android
public inline fun <reified T : Activity> actionStartActivity(
    parameters: ActionParameters = actionParametersOf()
): Action
Creates an Action that launches the specified Activity when triggered.
Parameters
| parameters | the parameters associated with the action. Parameter values will be added to the activity intent, keyed by the parameter key name string. | 
Android
@ExperimentalGlanceApi
public inline fun <reified T : Activity> actionStartActivity(
    parameters: ActionParameters = actionParametersOf(),
    activityOptions: Bundle? = null,
): Action
Creates an Action that launches the specified Activity when triggered.
Parameters
| parameters | the parameters associated with the action. Parameter values will be added to the activity intent, keyed by the parameter key name string. | 
| activityOptions | Additional options built from an android.app.ActivityOptionsto apply to an activity start. | 
