public static class Network.SetScene extends Command<Network.CommandId>
Network.sendNetworkManagementCommand(buzz.getcoco.iot.Command<buzz.getcoco.iot.Network.CommandId>, buzz.getcoco.iot.Network.NetworkManagementStatusListener)
for creating a new scene/changing info of an existing scene.Command.State| Modifier and Type | Field and Description |
|---|---|
int |
sceneId
ID of the
Scene. |
java.lang.String |
sceneName
Name of the
Scene. |
| Constructor and Description |
|---|
SetScene(Scene scene,
java.lang.String sceneName)
A constructor for current command.
|
SetScene(java.lang.String sceneName)
Constructors object of this class given its name.
|
getCommandId, getTimeout, setCommandId, setTimeout, toJsonObject, toString@SerializedName(value="sceneId") public int sceneId
Scene.@SerializedName(value="sceneName") public java.lang.String sceneName
Scene.public SetScene(java.lang.String sceneName)
sceneName - Name of the Scene.public SetScene(Scene scene, java.lang.String sceneName)
scene - The scene in interest whose name change is requestedsceneName - scene name to replace the existing name