TemperatureControlTemplate 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.
Construct a new TemperatureControlTemplate
.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/service/controls/templates/ControlTemplate;III)V", "", ApiSince=30)]
public TemperatureControlTemplate (string templateId, Android.Service.Controls.Templates.ControlTemplate controlTemplate, int currentMode, int currentActiveMode, int modesFlag);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Landroid/service/controls/templates/ControlTemplate;III)V", "", ApiSince=30)>]
new Android.Service.Controls.Templates.TemperatureControlTemplate : string * Android.Service.Controls.Templates.ControlTemplate * int * int * int -> Android.Service.Controls.Templates.TemperatureControlTemplate
Parameters
- templateId
- String
the identifier for this template object
- controlTemplate
- ControlTemplate
a template to use for interaction with the user
- currentMode
- Int32
the current mode for the Control
- currentActiveMode
- Int32
the current active mode for the Control
- modesFlag
- Int32
a flag representing the available modes for the Control
- Attributes
Remarks
Construct a new TemperatureControlTemplate
.
The current and active mode have to be among the ones supported by the flags.
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.