ToggleTemplate(String, ControlButton) Constructor
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.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/service/controls/templates/ControlButton;)V", "", ApiSince=30)]
public ToggleTemplate (string templateId, Android.Service.Controls.Templates.ControlButton button);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/service/controls/templates/ControlButton;)V", "", ApiSince=30)>]
new Android.Service.Controls.Templates.ToggleTemplate : string * Android.Service.Controls.Templates.ControlButton -> Android.Service.Controls.Templates.ToggleTemplate
Parameters
- templateId
- String
the identifier for this template object
- button
- ControlButton
a ControlButton
that can show the current state and toggle it
- Attributes
Remarks
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.