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

Remarks

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

Android reference for android.hardware.input.AppCustomizationAction.Builder.Builder.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to