次の方法で共有


CommandAction Constructors

Definition

Overloads

CommandAction(String)
CommandAction(String, String)

CommandAction(String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=30)]
public CommandAction (string templateId);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=30)>]
new Android.Service.Controls.Actions.CommandAction : string -> Android.Service.Controls.Actions.CommandAction

Parameters

templateId
String

the identifier of the StatelessTemplate that originated this action.

Attributes

Remarks

Java documentation for android.service.controls.actions.CommandAction.CommandAction(java.lang.String).

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

CommandAction(String, String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=30)]
public CommandAction (string templateId, string? challengeValue);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "", ApiSince=30)>]
new Android.Service.Controls.Actions.CommandAction : string * string -> Android.Service.Controls.Actions.CommandAction

Parameters

templateId
String

the identifier of the StatelessTemplate that originated this action.

challengeValue
String

a value sent by the user along with the action to authenticate. null is sent when no authentication is needed or has not been requested.

Attributes

Remarks

Java documentation for android.service.controls.actions.CommandAction.CommandAction(java.lang.String, java.lang.String).

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