ControlButton Constructors

Definition

Overloads

ControlButton(Boolean, ICharSequence)
ControlButton(Boolean, String)

ControlButton(Boolean, ICharSequence)

[Android.Runtime.Register(".ctor", "(ZLjava/lang/CharSequence;)V", "", ApiSince=30)]
public ControlButton (bool checked, Java.Lang.ICharSequence actionDescription);
[<Android.Runtime.Register(".ctor", "(ZLjava/lang/CharSequence;)V", "", ApiSince=30)>]
new Android.Service.Controls.Templates.ControlButton : bool * Java.Lang.ICharSequence -> Android.Service.Controls.Templates.ControlButton

Parameters

checked
Boolean

true if the button should be rendered as active.

actionDescription
ICharSequence

action description for the button.

Attributes

Remarks

Java documentation for android.service.controls.templates.ControlButton.ControlButton(boolean, java.lang.CharSequence).

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

ControlButton(Boolean, String)

[Android.Runtime.Register(".ctor", "(ZLjava/lang/CharSequence;)V", "", ApiSince=30)]
public ControlButton (bool checked, string actionDescription);
[<Android.Runtime.Register(".ctor", "(ZLjava/lang/CharSequence;)V", "", ApiSince=30)>]
new Android.Service.Controls.Templates.ControlButton : bool * string -> Android.Service.Controls.Templates.ControlButton

Parameters

checked
Boolean
actionDescription
String
Attributes

Applies to