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

#import <ThingSmartFamilyBiz.h>

Inheritance diagram for <ThingSmartFamilyBizDelegate>:

Instance Methods

(void) - serviceConnectedSuccess
 
(void) - familyBiz:didAddHome:
 
(void) - familyBiz:didRemoveHome:
 
(void) - familyBiz:didUpdateHome:
 
(void) - familyBiz:didChangeCurrentHome:
 
(void) - familyBiz:didAddDevice:atHome:
 
(void) - familyBiz:didRemoveDevice:atHome:
 
(void) - familyBiz:didAddGroup:atHome:
 
(void) - familyBiz:didRemoveGroup:atHome:
 
(void) - familyBiz:didUpdateSharedListAtHome:
 
(void) - serviceConnectedSuccess
 
(void) - familyBiz:didAddHome:
 
(void) - familyBiz:didRemoveHome:
 
(void) - familyBiz:didUpdateHome:
 
(void) - familyBiz:didChangeCurrentHome:
 
(void) - familyBiz:didAddDevice:atHome:
 
(void) - familyBiz:didRemoveDevice:atHome:
 
(void) - familyBiz:didAddGroup:atHome:
 
(void) - familyBiz:didRemoveGroup:atHome:
 
(void) - familyBiz:didUpdateSharedListAtHome:
 

Detailed Description

Definition at line 26 of file ThingSmartFamilyBiz.h.

Method Documentation

◆ familyBiz:didAddDevice:atHome: [1/2]

- (void) familyBiz: (ThingSmartFamilyBiz *)  familyBiz
didAddDevice: (ThingSmartDeviceModel *)  deviceModel
atHome: (ThingSmartHomeModel *)  homeModel 
optional

The delegate that is instantiated when a new device is added.

Parameters
familyBizInstance of family management
deviceModelThe device model
homeModelThe home model

◆ familyBiz:didAddDevice:atHome: [2/2]

- (void) familyBiz: (ThingSmartFamilyBiz *)  familyBiz
didAddDevice: (ThingSmartDeviceModel *)  deviceModel
atHome: (ThingSmartHomeModel *)  homeModel 
optional

The delegate that is instantiated when a new device is added.

Parameters
familyBizInstance of family management
deviceModelThe device model
homeModelThe home model

◆ familyBiz:didAddGroup:atHome: [1/2]

- (void) familyBiz: (ThingSmartFamilyBiz *)  familyBiz
didAddGroup: (ThingSmartGroupModel *)  groupModel
atHome: (ThingSmartHomeModel *)  homeModel 
optional

The delegate that is instantiated when a new group is added.

Parameters
familyBizInstance of family management
groupModelThe group model
homeModelThe home model

◆ familyBiz:didAddGroup:atHome: [2/2]

- (void) familyBiz: (ThingSmartFamilyBiz *)  familyBiz
didAddGroup: (ThingSmartGroupModel *)  groupModel
atHome: (ThingSmartHomeModel *)  homeModel 
optional

The delegate that is instantiated when a new group is added.

Parameters
familyBizInstance of family management
groupModelThe group model
homeModelThe home model

◆ familyBiz:didAddHome: [1/2]

- (void) familyBiz: (ThingSmartFamilyBiz *)  familyBiz
didAddHome: (ThingSmartHomeModel *)  homeModel 
optional

The delegate that is instantiated when a home is added.

Parameters
familyBizInstance of family management
homeModelThe home model

◆ familyBiz:didAddHome: [2/2]

- (void) familyBiz: (ThingSmartFamilyBiz *)  familyBiz
didAddHome: (ThingSmartHomeModel *)  homeModel 
optional

The delegate that is instantiated when a home is added.

Parameters
familyBizInstance of family management
homeModelThe home model

◆ familyBiz:didChangeCurrentHome: [1/2]

- (void) familyBiz: (ThingSmartFamilyBiz *)  familyBiz
didChangeCurrentHome: (ThingSmartHomeModel *)  homeModel 
optional

The delegate of switching the current home

Parameters
familyBizInstance of family management
homeModelThe home model

◆ familyBiz:didChangeCurrentHome: [2/2]

- (void) familyBiz: (ThingSmartFamilyBiz *)  familyBiz
didChangeCurrentHome: (ThingSmartHomeModel *)  homeModel 
optional

The delegate of switching the current home

Parameters
familyBizInstance of family management
homeModelThe home model

◆ familyBiz:didRemoveDevice:atHome: [1/2]

- (void) familyBiz: (ThingSmartFamilyBiz *)  familyBiz
didRemoveDevice: (NSString *)  deviceId
atHome: (ThingSmartHomeModel *)  homeModel 
optional

The delegate that is instantiated when an existing device is removed.

Parameters
familyBizInstance of family management
deviceIdDeleted Device ID
homeModelThe home model

◆ familyBiz:didRemoveDevice:atHome: [2/2]

- (void) familyBiz: (ThingSmartFamilyBiz *)  familyBiz
didRemoveDevice: (NSString *)  deviceId
atHome: (ThingSmartHomeModel *)  homeModel 
optional

The delegate that is instantiated when an existing device is removed.

Parameters
familyBizInstance of family management
deviceIdDeleted Device ID
homeModelThe home model

◆ familyBiz:didRemoveGroup:atHome: [1/2]

- (void) familyBiz: (ThingSmartFamilyBiz *)  familyBiz
didRemoveGroup: (NSString *)  groupId
atHome: (ThingSmartHomeModel *)  homeModel 
optional

The delegate that is instantiated when an existing group is removed.

Parameters
familyBizInstance of family management
groupIdDeleted group ID
homeModelThe home model

◆ familyBiz:didRemoveGroup:atHome: [2/2]

- (void) familyBiz: (ThingSmartFamilyBiz *)  familyBiz
didRemoveGroup: (NSString *)  groupId
atHome: (ThingSmartHomeModel *)  homeModel 
optional

The delegate that is instantiated when an existing group is removed.

Parameters
familyBizInstance of family management
groupIdDeleted group ID
homeModelThe home model

◆ familyBiz:didRemoveHome: [1/2]

- (void) familyBiz: (ThingSmartFamilyBiz *)  familyBiz
didRemoveHome: (ThingSmartHomeModel *)  homeModel 
optional

The delegate that is instantiated when an existing home is removed.

Parameters
familyBizInstance of family management
homeModelThe home model

◆ familyBiz:didRemoveHome: [2/2]

- (void) familyBiz: (ThingSmartFamilyBiz *)  familyBiz
didRemoveHome: (ThingSmartHomeModel *)  homeModel 
optional

The delegate that is instantiated when an existing home is removed.

Parameters
familyBizInstance of family management
homeModelThe home model

◆ familyBiz:didUpdateHome: [1/2]

- (void) familyBiz: (ThingSmartFamilyBiz *)  familyBiz
didUpdateHome: (ThingSmartHomeModel *)  homeModel 
optional

The delegate of home update information, such as the name.

Parameters
familyBizInstance of family management
homeModelThe home model.

◆ familyBiz:didUpdateHome: [2/2]

- (void) familyBiz: (ThingSmartFamilyBiz *)  familyBiz
didUpdateHome: (ThingSmartHomeModel *)  homeModel 
optional

The delegate of home update information, such as the name.

Parameters
familyBizInstance of family management
homeModelThe home model.

◆ familyBiz:didUpdateSharedListAtHome: [1/2]

- (void) familyBiz: (ThingSmartFamilyBiz *)  familyBiz
didUpdateSharedListAtHome: (ThingSmartHomeModel *)  homeModel 
optional

The delegate of updates on the shared device list.

Parameters
familyBizInstance of family management
homeModelThe home model

◆ familyBiz:didUpdateSharedListAtHome: [2/2]

- (void) familyBiz: (ThingSmartFamilyBiz *)  familyBiz
didUpdateSharedListAtHome: (ThingSmartHomeModel *)  homeModel 
optional

The delegate of updates on the shared device list.

Parameters
familyBizInstance of family management
homeModelThe home model

◆ serviceConnectedSuccess [1/2]

- (void) serviceConnectedSuccess
optional

MQTT service connection success callback

◆ serviceConnectedSuccess [2/2]

- (void) serviceConnectedSuccess
optional

MQTT service connection success callback


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