TuyaSmartHomeManagerDelegate Protocol Reference

Conforms to NSObject
Declared in TuyaSmartHomeManager.h

– homeManager:didAddHome:

the delegate when a new home is added. 新增一个家庭代理回调

- (void)homeManager:(TuyaSmartHomeManager *)manager didAddHome:(TuyaSmartHomeModel *)home

Parameters

manager

instance

home

homeModel

Discussion

the delegate when a new home is added. 新增一个家庭代理回调

Declared In

TuyaSmartHomeManager.h

– homeManager:didRemoveHome:

the delegate when an existing home is removed. 删除一个家庭代理回调

- (void)homeManager:(TuyaSmartHomeManager *)manager didRemoveHome:(long long)homeId

Parameters

manager

instance

homeId

homeId

Discussion

the delegate when an existing home is removed. 删除一个家庭代理回调

Declared In

TuyaSmartHomeManager.h

– serviceConnectedSuccess

MQTT connected success MQTT 服务连接成功代理回调

- (void)serviceConnectedSuccess

Discussion

MQTT connected success MQTT 服务连接成功代理回调

Declared In

TuyaSmartHomeManager.h