public static class Network.RemoveSceneResourceActions extends Command<Network.CommandId>
Network.sendNetworkManagementCommand(buzz.getcoco.iot.Command<buzz.getcoco.iot.Network.CommandId>, buzz.getcoco.iot.Network.NetworkManagementStatusListener) for removing scene resource action.Command.State| Modifier and Type | Field and Description |
|---|---|
int[] |
resourceActions
Array of
ResourceAction.id of resource actions that needs to be removed. |
int |
sceneId
Scene.sceneId of scene from which ResourceAction needs to be removed. |
| Constructor and Description |
|---|
RemoveSceneResourceActions(Scene scene,
ResourceAction[] resourceActions)
Constructor for this command.
|
getCommandId, getTimeout, setCommandId, setTimeout, toJsonObject, toString@SerializedName(value="sceneId") public int sceneId
Scene.sceneId of scene from which ResourceAction needs to be removed.@SerializedName(value="resrcActionArr") public int[] resourceActions
ResourceAction.id of resource actions that needs to be removed.public RemoveSceneResourceActions(Scene scene, ResourceAction[] resourceActions)
scene - Scene in interest to have its resource actions removedresourceActions - array of resource actions to be deleted from scene param