public static class Network.SetSceneMetadata extends Command<Network.CommandId>
Network.sendNetworkManagementCommand(buzz.getcoco.iot.Command<buzz.getcoco.iot.Network.CommandId>, buzz.getcoco.iot.Network.NetworkManagementStatusListener) for setting metadata of a scene.Command.State| Modifier and Type | Field and Description |
|---|---|
int |
sceneId
Scene.sceneId of Scene whose metadata of needs to be updated. |
java.lang.String |
sceneMetadata
Updates metadata of the
Scene. |
| Constructor and Description |
|---|
SetSceneMetadata(Scene scene,
java.lang.String sceneMetadata)
A constructor for this command.
|
getCommandId, getTimeout, setCommandId, setTimeout, toJsonObject, toString@SerializedName(value="sceneId") public int sceneId
Scene.sceneId of Scene whose metadata of needs to be updated.@SerializedName(value="sceneMetadata") public java.lang.String sceneMetadata
Scene.public SetSceneMetadata(Scene scene, java.lang.String sceneMetadata)
scene - Scene under interest to change metadatasceneMetadata - String metadata to be set to the scene param