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)
while setting scene metadata is the command.Scene#setMetadata(String, NetworkManagementStatusListener)
Command.State
Modifier and Type | Field and Description |
---|---|
int |
sceneId |
java.lang.String |
sceneMetadata |
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
@SerializedName(value="sceneMetadata") public java.lang.String sceneMetadata
public SetSceneMetadata(Scene scene, java.lang.String sceneMetadata)
scene
- Scene under interest to change metadatasceneMetadata
- String metadata to be set to the scene param