Language

AppCustomizationAction.Builder(ComponentName, String) Constructor

Definition

Creates a new Builder for an AppCustomizationAction targeting the specified component and action.

[Android.Runtime.Register(".ctor", "(Landroid/content/ComponentName;Ljava/lang/String;)V", "", ApiSince=37)]
public Builder(Android.Content.ComponentName component, string action);
[<Android.Runtime.Register(".ctor", "(Landroid/content/ComponentName;Ljava/lang/String;)V", "", ApiSince=37)>]
new Android.Hardware.Input.AppCustomizationAction.Builder : Android.Content.ComponentName * string -> Android.Hardware.Input.AppCustomizationAction.Builder

Parameters

component
ComponentName

The target ComponentName to be launched. Must not be null.

action
String

The intent action to set. Only ACTION_MAIN and ACTION_VIEW are supported. Must not be null.

Attributes

Applies to