Tuya iOS Smart Life App SDK 5.15.0
<ThingSmartSceneManagerDelegate> Protocol Reference

The protocol provides delegate methods to receive changes to the scene enable or disable state. More...

#import <ThingSmartSceneManager.h>

Inheritance diagram for <ThingSmartSceneManagerDelegate>:

Instance Methods

(void) - sceneManager:state:sceneId:
 
(void) - sceneManager:state:sceneId:
 
(void) - sceneManager:state:sceneId:
 
(void) - sceneManager:state:sceneId:
 

Detailed Description

The protocol provides delegate methods to receive changes to the scene enable or disable state.

Definition at line 26 of file ThingSmartSceneManager.h.

Method Documentation

◆ sceneManager:state:sceneId: [1/4]

- (void) sceneManager: (ThingSmartSceneManager *)  manager
state: (NSString *)  state
sceneId: (NSString *)  sceneId 
optional

Called when the state of the scene changes.

Parameters
managerThe scene manager.
stateThe scene state, eg: "disable、"enable".
sceneIdThe scene ID.

◆ sceneManager:state:sceneId: [2/4]

- (void) sceneManager: (ThingSmartSceneManager *)  manager
state: (NSString *)  state
sceneId: (NSString *)  sceneId 
optional

Called when the state of the scene changes.

Parameters
managerThe scene manager.
stateThe scene state, eg: "disable、"enable".
sceneIdThe scene ID.

◆ sceneManager:state:sceneId: [3/4]

- (void) sceneManager: (ThingSmartSceneManager *)  manager
state: (NSString *)  state
sceneId: (NSString *)  sceneId 
optional

Called when the state of the scene changes.

Parameters
managerThe scene manager.
stateThe scene state, eg: "disable、"enable".
sceneIdThe scene ID.

◆ sceneManager:state:sceneId: [4/4]

- (void) sceneManager: (ThingSmartSceneManager *)  manager
state: (NSString *)  state
sceneId: (NSString *)  sceneId 
optional

Called when the state of the scene changes.

Parameters
managerThe scene manager.
stateThe scene state, eg: "disable、"enable".
sceneIdThe scene ID.

The documentation for this protocol was generated from the following files: