ToggleRangeTemplate Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ToggleRangeTemplate(String, ControlButton, RangeTemplate) |
Constructs a new |
ToggleRangeTemplate(String, Boolean, ICharSequence, RangeTemplate) |
Constructs a new |
ToggleRangeTemplate(String, Boolean, String, RangeTemplate) |
ToggleRangeTemplate(String, ControlButton, RangeTemplate)
Constructs a new ToggleRangeTemplate
.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/service/controls/templates/ControlButton;Landroid/service/controls/templates/RangeTemplate;)V", "", ApiSince=30)]
public ToggleRangeTemplate (string templateId, Android.Service.Controls.Templates.ControlButton button, Android.Service.Controls.Templates.RangeTemplate range);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/service/controls/templates/ControlButton;Landroid/service/controls/templates/RangeTemplate;)V", "", ApiSince=30)>]
new Android.Service.Controls.Templates.ToggleRangeTemplate : string * Android.Service.Controls.Templates.ControlButton * Android.Service.Controls.Templates.RangeTemplate -> Android.Service.Controls.Templates.ToggleRangeTemplate
Parameters
- templateId
- String
the identifier for this template.
- button
- ControlButton
a ControlButton
to use for the toggle interface
- range
- RangeTemplate
a RangeTemplate
to use for the range interface
- Attributes
Remarks
Constructs a new ToggleRangeTemplate
.
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
ToggleRangeTemplate(String, Boolean, ICharSequence, RangeTemplate)
Constructs a new ToggleRangeTemplate
.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;ZLjava/lang/CharSequence;Landroid/service/controls/templates/RangeTemplate;)V", "", ApiSince=30)]
public ToggleRangeTemplate (string templateId, bool checked, Java.Lang.ICharSequence actionDescription, Android.Service.Controls.Templates.RangeTemplate range);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;ZLjava/lang/CharSequence;Landroid/service/controls/templates/RangeTemplate;)V", "", ApiSince=30)>]
new Android.Service.Controls.Templates.ToggleRangeTemplate : string * bool * Java.Lang.ICharSequence * Android.Service.Controls.Templates.RangeTemplate -> Android.Service.Controls.Templates.ToggleRangeTemplate
Parameters
- templateId
- String
the identifier for this template.
- checked
- Boolean
true if the toggle should be rendered as active.
- actionDescription
- ICharSequence
action description for the button.
- range
- RangeTemplate
RangeTemplate
to use for the range interface
- Attributes
Remarks
Constructs a new ToggleRangeTemplate
.
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
ToggleRangeTemplate(String, Boolean, String, RangeTemplate)
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;ZLjava/lang/CharSequence;Landroid/service/controls/templates/RangeTemplate;)V", "", ApiSince=30)]
public ToggleRangeTemplate (string templateId, bool checked, string actionDescription, Android.Service.Controls.Templates.RangeTemplate range);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;ZLjava/lang/CharSequence;Landroid/service/controls/templates/RangeTemplate;)V", "", ApiSince=30)>]
new Android.Service.Controls.Templates.ToggleRangeTemplate : string * bool * string * Android.Service.Controls.Templates.RangeTemplate -> Android.Service.Controls.Templates.ToggleRangeTemplate
Parameters
- templateId
- String
- checked
- Boolean
- actionDescription
- String
- range
- RangeTemplate
- Attributes