setIndex method

Future<void> setIndex({
  1. required String sceneName,
  2. required int sceneItemId,
  3. required int sceneItemIndex,
})

Sets the index position of a scene item in a scene.

Scenes and Groups

  • Complexity Rating: 3/5
  • Latest Supported RPC Version: 1
  • Added in v5.0.0

Implementation

Future<void> setIndex({
  required String sceneName,
  required int sceneItemId,
  required int sceneItemIndex,
}) async =>
    setSceneItemIndex(
      sceneName: sceneName,
      sceneItemId: sceneItemId,
      sceneItemIndex: sceneItemIndex,
    );