ModeAction 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
ModeAction(String, Int32) | |
ModeAction(String, Int32, String) |
ModeAction(String, Int32)
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=30)]
public ModeAction (string templateId, int newMode);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "", ApiSince=30)>]
new Android.Service.Controls.Actions.ModeAction : string * int -> Android.Service.Controls.Actions.ModeAction
Parameters
- templateId
- String
the identifier of the TemperatureControlTemplate
that originated
this action.
- newMode
- Int32
new value for the mode.
- 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.
Applies to
ModeAction(String, Int32, String)
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;)V", "", ApiSince=30)]
public ModeAction (string templateId, int newMode, string? challengeValue);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;)V", "", ApiSince=30)>]
new Android.Service.Controls.Actions.ModeAction : string * int * string -> Android.Service.Controls.Actions.ModeAction
Parameters
- templateId
- String
the identifier of the TemperatureControlTemplate
that originated
this action.
- newMode
- Int32
new value for the mode.
- 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
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.