Stay organized with collections
Save and categorize content based on your preferences.
ModeAction
class ModeAction : ControlAction
Action sent by the user to indicate a change of mode. This action is available when the Control was created with a TemperatureControlTemplate.
Summary
Public constructors
ModeAction
ModeAction(
templateId: String,
newMode: Int)
ModeAction
ModeAction(
templateId: String,
newMode: Int,
challengeValue: String?)
| Parameters |
templateId |
String: the identifier of the TemperatureControlTemplate that originated this action. This value cannot be null. |
newMode |
Int: 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. |
Public methods
getActionType
fun getActionType(): Int
getNewMode
fun getNewMode(): Int
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-02-13 UTC.
[null,null,["Last updated 2026-02-13 UTC."],[],[]]