public static class Network.UpdateSceneResourceActions extends Network.SceneResourceActions
Network.sendNetworkManagementCommand(buzz.getcoco.iot.Command<buzz.getcoco.iot.Network.CommandId>, buzz.getcoco.iot.Network.NetworkManagementStatusListener) while updating scene resource action is the command.Scene#updateResourceActions(int[], ResourceAction[], NetworkManagementStatusListener)Command.StateresourceActions, sceneId| Constructor and Description |
|---|
UpdateSceneResourceActions(Scene scene,
int[] resourceActionIds,
ResourceAction[] resourceActions)
Constructor for this command.
|
| Modifier and Type | Method and Description |
|---|---|
static ResourceAction[] |
copy(int[] actionIds,
ResourceAction[] actions)
A function to create a copy of given resource action array.
|
getCommandId, getTimeout, setCommandId, setTimeout, toJsonObject, toStringpublic UpdateSceneResourceActions(Scene scene, int[] resourceActionIds, ResourceAction[] resourceActions)
scene - scene which requires to be updated resource actionsresourceActionIds - integer array of ids for resource actionsresourceActions - resource actions to be updated with existing onespublic static ResourceAction[] copy(int[] actionIds, ResourceAction[] actions)
actionIds - integer ids for resource actionsactions - array of resource actions