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

The delegate for the ThingSmartDevice class, used for getting all device status updates. More...

#import <ThingSmartDevice.h>

Inheritance diagram for <ThingSmartDeviceDelegate>:
<ThingSmartBLELockDeviceDelegate> <ThingSmartBLELockDeviceDelegate> <ThingSmartLockDeviceDelegate> <ThingSmartLockDeviceDelegate> <ThingSmartSweeperDeviceDelegate> <ThingSmartSweeperDeviceDelegate> <ThingSmartWiFiLockDeviceDelegate> <ThingSmartWiFiLockDeviceDelegate> <ThingSmartZigbeeLockDeviceDelegate> <ThingSmartZigbeeLockDeviceDelegate>

Instance Methods

(void) - deviceInfoUpdate:
 
(void) - deviceOnlineUpdate:
 
(void) - deviceRemoved:
 
(void) - device:dpsUpdate:
 
(void) - device:dpCommandsUpdate:
 
(void) - device:groupOTAId:firmwareType:progress:
 
(void) - device:groupOTAStatusModel:
 
(void) - device:signal:
 
(void) - device:didReceiveCustomMessage:
 
(void) - device:didReceiveLanMessage:
 Receives LAN custom messages. More...
 
(void) - device:warningInfoUpdate:
 
(void) - device:otaUpdateStatusChanged:
 
(void) - device:didReceiveThingMessageWithType:payload:
 
(void) - device:firmwareUpgradeProgress:progress:
 
(void) - device:firmwareUpgradeStatusModel:
 
(void) - device:type:upgradeStatus:
 
(void) - deviceFirmwareUpgradeSuccess:type:
 
(void) - deviceFirmwareUpgradeFailure:type:
 
(void) - deviceFirmwareUpgrading:type:
 
(void) - deviceInfoUpdate:
 
(void) - deviceOnlineUpdate:
 
(void) - deviceRemoved:
 
(void) - device:dpsUpdate:
 
(void) - device:dpCommandsUpdate:
 
(void) - device:groupOTAId:firmwareType:progress:
 
(void) - device:groupOTAStatusModel:
 
(void) - device:signal:
 
(void) - device:didReceiveCustomMessage:
 
(void) - device:didReceiveLanMessage:
 Receives LAN custom messages. More...
 
(void) - device:warningInfoUpdate:
 
(void) - device:otaUpdateStatusChanged:
 
(void) - device:didReceiveThingMessageWithType:payload:
 
(void) - device:firmwareUpgradeProgress:progress:
 
(void) - device:firmwareUpgradeStatusModel:
 
(void) - device:type:upgradeStatus:
 
(void) - deviceFirmwareUpgradeSuccess:type:
 
(void) - deviceFirmwareUpgradeFailure:type:
 
(void) - deviceFirmwareUpgrading:type:
 
(void) - deviceInfoUpdate:
 
(void) - deviceOnlineUpdate:
 
(void) - deviceRemoved:
 
(void) - device:dpsUpdate:
 
(void) - device:dpCommandsUpdate:
 
(void) - device:groupOTAId:firmwareType:progress:
 
(void) - device:groupOTAStatusModel:
 
(void) - device:signal:
 
(void) - device:didReceiveCustomMessage:
 
(void) - device:didReceiveLanMessage:
 Receives LAN custom messages. More...
 
(void) - device:warningInfoUpdate:
 
(void) - device:otaUpdateStatusChanged:
 
(void) - device:didReceiveThingMessageWithType:payload:
 
(void) - device:firmwareUpgradeProgress:progress:
 
(void) - device:firmwareUpgradeStatusModel:
 
(void) - device:type:upgradeStatus:
 
(void) - deviceFirmwareUpgradeSuccess:type:
 
(void) - deviceFirmwareUpgradeFailure:type:
 
(void) - deviceFirmwareUpgrading:type:
 
(void) - deviceInfoUpdate:
 
(void) - deviceOnlineUpdate:
 
(void) - deviceRemoved:
 
(void) - device:dpsUpdate:
 
(void) - device:dpCommandsUpdate:
 
(void) - device:groupOTAId:firmwareType:progress:
 
(void) - device:groupOTAStatusModel:
 
(void) - device:signal:
 
(void) - device:didReceiveCustomMessage:
 
(void) - device:didReceiveLanMessage:
 Receives LAN custom messages. More...
 
(void) - device:warningInfoUpdate:
 
(void) - device:otaUpdateStatusChanged:
 
(void) - device:didReceiveThingMessageWithType:payload:
 
(void) - device:firmwareUpgradeProgress:progress:
 
(void) - device:firmwareUpgradeStatusModel:
 
(void) - device:type:upgradeStatus:
 
(void) - deviceFirmwareUpgradeSuccess:type:
 
(void) - deviceFirmwareUpgradeFailure:type:
 
(void) - deviceFirmwareUpgrading:type:
 

Detailed Description

The delegate for the ThingSmartDevice class, used for getting all device status updates.

Definition at line 55 of file ThingSmartDevice.h.

Method Documentation

◆ device:didReceiveCustomMessage: [1/4]

- (void) device: (ThingSmartDevice *)  device
didReceiveCustomMessage: (ThingSmartMQTTMessageModel *)  message 
optional

Receives MQTT custom messages.

Parameters
deviceThe device instance.
messageThe custom message.

◆ device:didReceiveCustomMessage: [2/4]

- (void) device: (ThingSmartDevice *)  device
didReceiveCustomMessage: (ThingSmartMQTTMessageModel *)  message 
optional

Receives MQTT custom messages.

Parameters
deviceThe device instance.
messageThe custom message.

◆ device:didReceiveCustomMessage: [3/4]

- (void) device: (ThingSmartDevice *)  device
didReceiveCustomMessage: (ThingSmartMQTTMessageModel *)  message 
optional

Receives MQTT custom messages.

Parameters
deviceThe device instance.
messageThe custom message.

◆ device:didReceiveCustomMessage: [4/4]

- (void) device: (ThingSmartDevice *)  device
didReceiveCustomMessage: (ThingSmartMQTTMessageModel *)  message 
optional

Receives MQTT custom messages.

Parameters
deviceThe device instance.
messageThe custom message.

◆ device:didReceiveLanMessage: [1/4]

- (void) device: (ThingSmartDevice *)  device
didReceiveLanMessage: (ThingSmartLanMessageModel *)  message 
optional

Receives LAN custom messages.

◆ device:didReceiveLanMessage: [2/4]

- (void) device: (ThingSmartDevice *)  device
didReceiveLanMessage: (ThingSmartLanMessageModel *)  message 
optional

Receives LAN custom messages.

◆ device:didReceiveLanMessage: [3/4]

- (void) device: (ThingSmartDevice *)  device
didReceiveLanMessage: (ThingSmartLanMessageModel *)  message 
optional

Receives LAN custom messages.

◆ device:didReceiveLanMessage: [4/4]

- (void) device: (ThingSmartDevice *)  device
didReceiveLanMessage: (ThingSmartLanMessageModel *)  message 
optional

Receives LAN custom messages.

◆ device:didReceiveThingMessageWithType:payload: [1/4]

- (void) device: (ThingSmartDevice *)  device
didReceiveThingMessageWithType: (ThingSmartThingMessageType)  thingMessageType
payload: (NSDictionary *)  payload 
optional

The thing message data update. Example: type == property: payload = { "code_name1": { "value": "code_value1", "time": 1234567890 }, "code_name2": { "value": 50, "time": 1234567890 } } type == action: payload = { "actionCode": "testAction", "outputParams": { "outputParam1":"outputValue1", "outputParam2":50 } } type == event: payload = { "eventCode": "testEvent", "outputParams": { "outputParam1":["outputValue1", "outputValue2"], "outputParam2":false } }

Parameters
deviceThe device instance.
thingMessageTypeThe message type.
payloadThe message payload.

◆ device:didReceiveThingMessageWithType:payload: [2/4]

- (void) device: (ThingSmartDevice *)  device
didReceiveThingMessageWithType: (ThingSmartThingMessageType)  thingMessageType
payload: (NSDictionary *)  payload 
optional

The thing message data update. Example: type == property: payload = { "code_name1": { "value": "code_value1", "time": 1234567890 }, "code_name2": { "value": 50, "time": 1234567890 } } type == action: payload = { "actionCode": "testAction", "outputParams": { "outputParam1":"outputValue1", "outputParam2":50 } } type == event: payload = { "eventCode": "testEvent", "outputParams": { "outputParam1":["outputValue1", "outputValue2"], "outputParam2":false } }

Parameters
deviceThe device instance.
thingMessageTypeThe message type.
payloadThe message payload.

◆ device:didReceiveThingMessageWithType:payload: [3/4]

- (void) device: (ThingSmartDevice *)  device
didReceiveThingMessageWithType: (ThingSmartThingMessageType)  thingMessageType
payload: (NSDictionary *)  payload 
optional

The thing message data update. Example: type == property: payload = { "code_name1": { "value": "code_value1", "time": 1234567890 }, "code_name2": { "value": 50, "time": 1234567890 } } type == action: payload = { "actionCode": "testAction", "outputParams": { "outputParam1":"outputValue1", "outputParam2":50 } } type == event: payload = { "eventCode": "testEvent", "outputParams": { "outputParam1":["outputValue1", "outputValue2"], "outputParam2":false } }

Parameters
deviceThe device instance.
thingMessageTypeThe message type.
payloadThe message payload.

◆ device:didReceiveThingMessageWithType:payload: [4/4]

- (void) device: (ThingSmartDevice *)  device
didReceiveThingMessageWithType: (ThingSmartThingMessageType)  thingMessageType
payload: (NSDictionary *)  payload 
optional

The thing message data update. Example: type == property: payload = { "code_name1": { "value": "code_value1", "time": 1234567890 }, "code_name2": { "value": 50, "time": 1234567890 } } type == action: payload = { "actionCode": "testAction", "outputParams": { "outputParam1":"outputValue1", "outputParam2":50 } } type == event: payload = { "eventCode": "testEvent", "outputParams": { "outputParam1":["outputValue1", "outputValue2"], "outputParam2":false } }

Parameters
deviceThe device instance.
thingMessageTypeThe message type.
payloadThe message payload.

◆ device:dpCommandsUpdate: [1/4]

- (void) device: (ThingSmartDevice *)  device
dpCommandsUpdate: (NSDictionary *)  dpCodes 
optional

The DP data updates.

Parameters
deviceThe device instance.
dpCodesThe DP codes.

◆ device:dpCommandsUpdate: [2/4]

- (void) device: (ThingSmartDevice *)  device
dpCommandsUpdate: (NSDictionary *)  dpCodes 
optional

The DP data updates.

Parameters
deviceThe device instance.
dpCodesThe DP codes.

◆ device:dpCommandsUpdate: [3/4]

- (void) device: (ThingSmartDevice *)  device
dpCommandsUpdate: (NSDictionary *)  dpCodes 
optional

The DP data updates.

Parameters
deviceThe device instance.
dpCodesThe DP codes.

◆ device:dpCommandsUpdate: [4/4]

- (void) device: (ThingSmartDevice *)  device
dpCommandsUpdate: (NSDictionary *)  dpCodes 
optional

The DP data updates.

Parameters
deviceThe device instance.
dpCodesThe DP codes.

◆ device:dpsUpdate: [1/4]

- (void) device: (ThingSmartDevice *)  device
dpsUpdate: (NSDictionary *)  dps 
optional

The DP data updates.

Parameters
deviceThe device instance.
dpsThe command dictionary.

◆ device:dpsUpdate: [2/4]

- (void) device: (ThingSmartDevice *)  device
dpsUpdate: (NSDictionary *)  dps 
optional

The DP data updates.

Parameters
deviceThe device instance.
dpsThe command dictionary.

◆ device:dpsUpdate: [3/4]

- (void) device: (ThingSmartDevice *)  device
dpsUpdate: (NSDictionary *)  dps 
optional

The DP data updates.

Parameters
deviceThe device instance.
dpsThe command dictionary.

◆ device:dpsUpdate: [4/4]

- (void) device: (ThingSmartDevice *)  device
dpsUpdate: (NSDictionary *)  dps 
optional

The DP data updates.

Parameters
deviceThe device instance.
dpsThe command dictionary.

◆ device:firmwareUpgradeProgress:progress: [1/4]

- (void) device: (ThingSmartDevice *)  device
firmwareUpgradeProgress: (NSInteger)  type
progress: ("This method is)  deprecated
(Use device:otaUpdateStatusChanged:instead")  __deprecated_msg 
optional

The firmware update progress.

Parameters
deviceThe device instance.
typeThe device type.
progressThe update progress.

◆ device:firmwareUpgradeProgress:progress: [2/4]

- (void) device: (ThingSmartDevice *)  device
firmwareUpgradeProgress: (NSInteger)  type
progress: ("This method is)  deprecated
(Use device:otaUpdateStatusChanged:instead")  __deprecated_msg 
optional

The firmware update progress.

Parameters
deviceThe device instance.
typeThe device type.
progressThe update progress.

◆ device:firmwareUpgradeProgress:progress: [3/4]

- (void) device: (ThingSmartDevice *)  device
firmwareUpgradeProgress: (NSInteger)  type
progress: ("This method is)  deprecated
(Use device:otaUpdateStatusChanged:instead")  __deprecated_msg 
optional

The firmware update progress.

Parameters
deviceThe device instance.
typeThe device type.
progressThe update progress.

◆ device:firmwareUpgradeProgress:progress: [4/4]

- (void) device: (ThingSmartDevice *)  device
firmwareUpgradeProgress: (NSInteger)  type
progress: ("This method is)  deprecated
(Use device:otaUpdateStatusChanged:instead")  __deprecated_msg 
optional

The firmware update progress.

Parameters
deviceThe device instance.
typeThe device type.
progressThe update progress.

◆ device:firmwareUpgradeStatusModel: [1/4]

- (void) device: (ThingSmartDevice *)  device
firmwareUpgradeStatusModel: ("This method is)  deprecated
(Use device:otaUpdateStatusChanged:instead")  __deprecated_msg 
optional

The delegate of changes in device firmware update status.

Parameters
deviceThe device instance.
upgradeStatusModelThe model of the device update status.

◆ device:firmwareUpgradeStatusModel: [2/4]

- (void) device: (ThingSmartDevice *)  device
firmwareUpgradeStatusModel: ("This method is)  deprecated
(Use device:otaUpdateStatusChanged:instead")  __deprecated_msg 
optional

The delegate of changes in device firmware update status.

Parameters
deviceThe device instance.
upgradeStatusModelThe model of the device update status.

◆ device:firmwareUpgradeStatusModel: [3/4]

- (void) device: (ThingSmartDevice *)  device
firmwareUpgradeStatusModel: ("This method is)  deprecated
(Use device:otaUpdateStatusChanged:instead")  __deprecated_msg 
optional

The delegate of changes in device firmware update status.

Parameters
deviceThe device instance.
upgradeStatusModelThe model of the device update status.

◆ device:firmwareUpgradeStatusModel: [4/4]

- (void) device: (ThingSmartDevice *)  device
firmwareUpgradeStatusModel: ("This method is)  deprecated
(Use device:otaUpdateStatusChanged:instead")  __deprecated_msg 
optional

The delegate of changes in device firmware update status.

Parameters
deviceThe device instance.
upgradeStatusModelThe model of the device update status.

◆ device:groupOTAId:firmwareType:progress: [1/4]

- (void) device: (ThingSmartDevice *)  device
groupOTAId: (long)  groupId
firmwareType: (NSInteger)  type
progress: (double)  progress 
optional

The group OTA task progress.

Parameters
deviceThe gateway instance.
groupIdgroup OTA task id.
typeThe firmware type.
progressThe update progress.

◆ device:groupOTAId:firmwareType:progress: [2/4]

- (void) device: (ThingSmartDevice *)  device
groupOTAId: (long)  groupId
firmwareType: (NSInteger)  type
progress: (double)  progress 
optional

The group OTA task progress.

Parameters
deviceThe gateway instance.
groupIdgroup OTA task id.
typeThe firmware type.
progressThe update progress.

◆ device:groupOTAId:firmwareType:progress: [3/4]

- (void) device: (ThingSmartDevice *)  device
groupOTAId: (long)  groupId
firmwareType: (NSInteger)  type
progress: (double)  progress 
optional

The group OTA task progress.

Parameters
deviceThe gateway instance.
groupIdgroup OTA task id.
typeThe firmware type.
progressThe update progress.

◆ device:groupOTAId:firmwareType:progress: [4/4]

- (void) device: (ThingSmartDevice *)  device
groupOTAId: (long)  groupId
firmwareType: (NSInteger)  type
progress: (double)  progress 
optional

The group OTA task progress.

Parameters
deviceThe gateway instance.
groupIdgroup OTA task id.
typeThe firmware type.
progressThe update progress.

◆ device:groupOTAStatusModel: [1/4]

- (void) device: (ThingSmartDevice *)  device
groupOTAStatusModel: (ThingSmartFirmwareUpgradeStatusModel *)  upgradeStatusModel 
optional

The group OTA task status.

Parameters
deviceThe gateway device instance.
upgradeStatusModelThe model of the update status.

◆ device:groupOTAStatusModel: [2/4]

- (void) device: (ThingSmartDevice *)  device
groupOTAStatusModel: (ThingSmartFirmwareUpgradeStatusModel *)  upgradeStatusModel 
optional

The group OTA task status.

Parameters
deviceThe gateway device instance.
upgradeStatusModelThe model of the update status.

◆ device:groupOTAStatusModel: [3/4]

- (void) device: (ThingSmartDevice *)  device
groupOTAStatusModel: (ThingSmartFirmwareUpgradeStatusModel *)  upgradeStatusModel 
optional

The group OTA task status.

Parameters
deviceThe gateway device instance.
upgradeStatusModelThe model of the update status.

◆ device:groupOTAStatusModel: [4/4]

- (void) device: (ThingSmartDevice *)  device
groupOTAStatusModel: (ThingSmartFirmwareUpgradeStatusModel *)  upgradeStatusModel 
optional

The group OTA task status.

Parameters
deviceThe gateway device instance.
upgradeStatusModelThe model of the update status.

◆ device:otaUpdateStatusChanged: [1/4]

- (void) device: (ThingSmartDevice *)  device
otaUpdateStatusChanged: (ThingSmartFirmwareUpgradeStatusModel *)  statusModel 
optional

The delegate of changes in device normal firmware/pid version update's status/progress Notice: sometimes the progress may <0, when it occured please ignore the progress.

Parameters
deviceThe device instance.
statusModelstatus/progress model.

◆ device:otaUpdateStatusChanged: [2/4]

- (void) device: (ThingSmartDevice *)  device
otaUpdateStatusChanged: (ThingSmartFirmwareUpgradeStatusModel *)  statusModel 
optional

The delegate of changes in device normal firmware/pid version update's status/progress Notice: sometimes the progress may <0, when it occured please ignore the progress.

Parameters
deviceThe device instance.
statusModelstatus/progress model.

◆ device:otaUpdateStatusChanged: [3/4]

- (void) device: (ThingSmartDevice *)  device
otaUpdateStatusChanged: (ThingSmartFirmwareUpgradeStatusModel *)  statusModel 
optional

The delegate of changes in device normal firmware/pid version update's status/progress Notice: sometimes the progress may <0, when it occured please ignore the progress.

Parameters
deviceThe device instance.
statusModelstatus/progress model.

◆ device:otaUpdateStatusChanged: [4/4]

- (void) device: (ThingSmartDevice *)  device
otaUpdateStatusChanged: (ThingSmartFirmwareUpgradeStatusModel *)  statusModel 
optional

The delegate of changes in device normal firmware/pid version update's status/progress Notice: sometimes the progress may <0, when it occured please ignore the progress.

Parameters
deviceThe device instance.
statusModelstatus/progress model.

◆ device:signal: [1/4]

- (void) device: (ThingSmartDevice *)  device
signal: (NSString *)  signal 
optional

The callback of Wi-Fi signal strength.

Parameters
deviceThe device instance.
signalThe signal strength.

◆ device:signal: [2/4]

- (void) device: (ThingSmartDevice *)  device
signal: (NSString *)  signal 
optional

The callback of Wi-Fi signal strength.

Parameters
deviceThe device instance.
signalThe signal strength.

◆ device:signal: [3/4]

- (void) device: (ThingSmartDevice *)  device
signal: (NSString *)  signal 
optional

The callback of Wi-Fi signal strength.

Parameters
deviceThe device instance.
signalThe signal strength.

◆ device:signal: [4/4]

- (void) device: (ThingSmartDevice *)  device
signal: (NSString *)  signal 
optional

The callback of Wi-Fi signal strength.

Parameters
deviceThe device instance.
signalThe signal strength.

◆ device:type:upgradeStatus: [1/4]

- (void) device: (ThingSmartDevice *)  device
type: (NSInteger)  type
upgradeStatus: ("This method is)  deprecated
(Use device:firmwareUpgradeStatusModel:instead")  __deprecated_msg 
optional

The delegate of changes in device firmware update status.

Parameters
deviceThe device instance.
typeThe device type.
upgradeStatusThe device update status.
Deprecated:
This method is deprecated. Use device:firmwareUpgradeStatusModel: instead.

◆ device:type:upgradeStatus: [2/4]

- (void) device: (ThingSmartDevice *)  device
type: (NSInteger)  type
upgradeStatus: ("This method is)  deprecated
(Use device:firmwareUpgradeStatusModel:instead")  __deprecated_msg 
optional

The delegate of changes in device firmware update status.

Parameters
deviceThe device instance.
typeThe device type.
upgradeStatusThe device update status.
Deprecated:
This method is deprecated. Use device:firmwareUpgradeStatusModel: instead.

◆ device:type:upgradeStatus: [3/4]

- (void) device: (ThingSmartDevice *)  device
type: (NSInteger)  type
upgradeStatus: ("This method is)  deprecated
(Use device:firmwareUpgradeStatusModel:instead")  __deprecated_msg 
optional

The delegate of changes in device firmware update status.

Parameters
deviceThe device instance.
typeThe device type.
upgradeStatusThe device update status.
Deprecated:
This method is deprecated. Use device:firmwareUpgradeStatusModel: instead.

◆ device:type:upgradeStatus: [4/4]

- (void) device: (ThingSmartDevice *)  device
type: (NSInteger)  type
upgradeStatus: ("This method is)  deprecated
(Use device:firmwareUpgradeStatusModel:instead")  __deprecated_msg 
optional

The delegate of changes in device firmware update status.

Parameters
deviceThe device instance.
typeThe device type.
upgradeStatusThe device update status.
Deprecated:
This method is deprecated. Use device:firmwareUpgradeStatusModel: instead.

◆ device:warningInfoUpdate: [1/4]

- (void) device: (ThingSmartDevice *)  device
warningInfoUpdate: (NSDictionary *)  warningInfo 
optional

The delegate of warning information updates.

Parameters
deviceThe device instance.
warningInfoThe warning information.

◆ device:warningInfoUpdate: [2/4]

- (void) device: (ThingSmartDevice *)  device
warningInfoUpdate: (NSDictionary *)  warningInfo 
optional

The delegate of warning information updates.

Parameters
deviceThe device instance.
warningInfoThe warning information.

◆ device:warningInfoUpdate: [3/4]

- (void) device: (ThingSmartDevice *)  device
warningInfoUpdate: (NSDictionary *)  warningInfo 
optional

The delegate of warning information updates.

Parameters
deviceThe device instance.
warningInfoThe warning information.

◆ device:warningInfoUpdate: [4/4]

- (void) device: (ThingSmartDevice *)  device
warningInfoUpdate: (NSDictionary *)  warningInfo 
optional

The delegate of warning information updates.

Parameters
deviceThe device instance.
warningInfoThe warning information.

◆ deviceFirmwareUpgradeFailure:type: [1/4]

- (void) deviceFirmwareUpgradeFailure: (ThingSmartDevice *)  device
type: ("This method is)  deprecated
(Use device:upgradeStatus:instead")  __deprecated_msg 
optional

Failure of device firmware updates.

Parameters
deviceThe device instance.
typeThe device type.
Deprecated:
This method is deprecated. Use ThingSmartDeviceDelegate::device:upgradeStatus: instead.

◆ deviceFirmwareUpgradeFailure:type: [2/4]

- (void) deviceFirmwareUpgradeFailure: (ThingSmartDevice *)  device
type: ("This method is)  deprecated
(Use device:upgradeStatus:instead")  __deprecated_msg 
optional

Failure of device firmware updates.

Parameters
deviceThe device instance.
typeThe device type.
Deprecated:
This method is deprecated. Use ThingSmartDeviceDelegate::device:upgradeStatus: instead.

◆ deviceFirmwareUpgradeFailure:type: [3/4]

- (void) deviceFirmwareUpgradeFailure: (ThingSmartDevice *)  device
type: ("This method is)  deprecated
(Use device:upgradeStatus:instead")  __deprecated_msg 
optional

Failure of device firmware updates.

Parameters
deviceThe device instance.
typeThe device type.
Deprecated:
This method is deprecated. Use ThingSmartDeviceDelegate::device:upgradeStatus: instead.

◆ deviceFirmwareUpgradeFailure:type: [4/4]

- (void) deviceFirmwareUpgradeFailure: (ThingSmartDevice *)  device
type: ("This method is)  deprecated
(Use device:upgradeStatus:instead")  __deprecated_msg 
optional

Failure of device firmware updates.

Parameters
deviceThe device instance.
typeThe device type.
Deprecated:
This method is deprecated. Use ThingSmartDeviceDelegate::device:upgradeStatus: instead.

◆ deviceFirmwareUpgradeSuccess:type: [1/4]

- (void) deviceFirmwareUpgradeSuccess: (ThingSmartDevice *)  device
type: ("This method is)  deprecated
(Use device:upgradeStatus:instead")  __deprecated_msg 
optional

Success of device firmware updates.

Parameters
deviceThe device instance.
typeThe device type.
Deprecated:
This method is deprecated. Use ThingSmartDeviceDelegate::device:upgradeStatus: instead.

◆ deviceFirmwareUpgradeSuccess:type: [2/4]

- (void) deviceFirmwareUpgradeSuccess: (ThingSmartDevice *)  device
type: ("This method is)  deprecated
(Use device:upgradeStatus:instead")  __deprecated_msg 
optional

Success of device firmware updates.

Parameters
deviceThe device instance.
typeThe device type.
Deprecated:
This method is deprecated. Use ThingSmartDeviceDelegate::device:upgradeStatus: instead.

◆ deviceFirmwareUpgradeSuccess:type: [3/4]

- (void) deviceFirmwareUpgradeSuccess: (ThingSmartDevice *)  device
type: ("This method is)  deprecated
(Use device:upgradeStatus:instead")  __deprecated_msg 
optional

Success of device firmware updates.

Parameters
deviceThe device instance.
typeThe device type.
Deprecated:
This method is deprecated. Use ThingSmartDeviceDelegate::device:upgradeStatus: instead.

◆ deviceFirmwareUpgradeSuccess:type: [4/4]

- (void) deviceFirmwareUpgradeSuccess: (ThingSmartDevice *)  device
type: ("This method is)  deprecated
(Use device:upgradeStatus:instead")  __deprecated_msg 
optional

Success of device firmware updates.

Parameters
deviceThe device instance.
typeThe device type.
Deprecated:
This method is deprecated. Use ThingSmartDeviceDelegate::device:upgradeStatus: instead.

◆ deviceFirmwareUpgrading:type: [1/4]

- (void) deviceFirmwareUpgrading: (ThingSmartDevice *)  device
type: ("This method is)  deprecated
(Use device:upgradeStatus:instead")  __deprecated_msg 
optional

Device firmware updating.

Parameters
deviceThe device instance.
typeThe device type.
Deprecated:
This method is deprecated. Use ThingSmartDeviceDelegate::device:upgradeStatus: instead.

◆ deviceFirmwareUpgrading:type: [2/4]

- (void) deviceFirmwareUpgrading: (ThingSmartDevice *)  device
type: ("This method is)  deprecated
(Use device:upgradeStatus:instead")  __deprecated_msg 
optional

Device firmware updating.

Parameters
deviceThe device instance.
typeThe device type.
Deprecated:
This method is deprecated. Use ThingSmartDeviceDelegate::device:upgradeStatus: instead.

◆ deviceFirmwareUpgrading:type: [3/4]

- (void) deviceFirmwareUpgrading: (ThingSmartDevice *)  device
type: ("This method is)  deprecated
(Use device:upgradeStatus:instead")  __deprecated_msg 
optional

Device firmware updating.

Parameters
deviceThe device instance.
typeThe device type.
Deprecated:
This method is deprecated. Use ThingSmartDeviceDelegate::device:upgradeStatus: instead.

◆ deviceFirmwareUpgrading:type: [4/4]

- (void) deviceFirmwareUpgrading: (ThingSmartDevice *)  device
type: ("This method is)  deprecated
(Use device:upgradeStatus:instead")  __deprecated_msg 
optional

Device firmware updating.

Parameters
deviceThe device instance.
typeThe device type.
Deprecated:
This method is deprecated. Use ThingSmartDeviceDelegate::device:upgradeStatus: instead.

◆ deviceInfoUpdate: [1/4]

- (void) deviceInfoUpdate: (ThingSmartDevice *)  device
optional

Device information updates, such as the name and online status.

Parameters
deviceThe device instance.

◆ deviceInfoUpdate: [2/4]

- (void) deviceInfoUpdate: (ThingSmartDevice *)  device
optional

Device information updates, such as the name and online status.

Parameters
deviceThe device instance.

◆ deviceInfoUpdate: [3/4]

- (void) deviceInfoUpdate: (ThingSmartDevice *)  device
optional

Device information updates, such as the name and online status.

Parameters
deviceThe device instance.

◆ deviceInfoUpdate: [4/4]

- (void) deviceInfoUpdate: (ThingSmartDevice *)  device
optional

Device information updates, such as the name and online status.

Parameters
deviceThe device instance.

◆ deviceOnlineUpdate: [1/4]

- (void) deviceOnlineUpdate: (ThingSmartDevice *)  device
optional

Device online status updates

Parameters
deviceThe device instance.

◆ deviceOnlineUpdate: [2/4]

- (void) deviceOnlineUpdate: (ThingSmartDevice *)  device
optional

Device online status updates

Parameters
deviceThe device instance.

◆ deviceOnlineUpdate: [3/4]

- (void) deviceOnlineUpdate: (ThingSmartDevice *)  device
optional

Device online status updates

Parameters
deviceThe device instance.

◆ deviceOnlineUpdate: [4/4]

- (void) deviceOnlineUpdate: (ThingSmartDevice *)  device
optional

Device online status updates

Parameters
deviceThe device instance.

◆ deviceRemoved: [1/4]

- (void) deviceRemoved: (ThingSmartDevice *)  device
optional

Indicates whether the device is removed.

Parameters
deviceThe device instance.

◆ deviceRemoved: [2/4]

- (void) deviceRemoved: (ThingSmartDevice *)  device
optional

Indicates whether the device is removed.

Parameters
deviceThe device instance.

◆ deviceRemoved: [3/4]

- (void) deviceRemoved: (ThingSmartDevice *)  device
optional

Indicates whether the device is removed.

Parameters
deviceThe device instance.

◆ deviceRemoved: [4/4]

- (void) deviceRemoved: (ThingSmartDevice *)  device
optional

Indicates whether the device is removed.

Parameters
deviceThe device instance.

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