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

#import <ThingSmartActivatorDeviceExpandDelegate.h>

Inheritance diagram for <ThingSmartActivatorDeviceExpandDelegate>:

Instance Methods

(void) - activatorService:activatorType:didReceiveResponse:error:
 
(void) - beaconServiceDidFinishConfigAllDevices
 Batch network configuration completed, only supports beacon devices. More...
 
(void) - matterCommissioningSessionEstablishmentComplete:
 
(void) - matterDeviceAttestation:error:
 
(void) - matterSupportComplete:
 
(void) - matterDeviceDiscoveryed:
 
(void) - matterCommissioningStatusUpdate:
 
(void) - matterDeviceScannedAvailableWIFIList:
 Matter Device scanned available wifi list. More...
 
(void) - activatorService:activatorType:didReceiveResponse:error:
 
(void) - beaconServiceDidFinishConfigAllDevices
 Batch network configuration completed, only supports beacon devices. More...
 
(void) - matterCommissioningSessionEstablishmentComplete:
 
(void) - matterDeviceAttestation:error:
 
(void) - matterSupportComplete:
 
(void) - matterDeviceDiscoveryed:
 
(void) - matterCommissioningStatusUpdate:
 
(void) - matterDeviceScannedAvailableWIFIList:
 Matter Device scanned available wifi list. More...
 

Detailed Description

Definition at line 17 of file ThingSmartActivatorDeviceExpandDelegate.h.

Method Documentation

◆ activatorService:activatorType:didReceiveResponse:error: [1/2]

- (void) activatorService: (id< ThingSmartActivatorActiveProtocol >)  service
activatorType: (ThingSmartActivatorTypeModel *)  type
didReceiveResponse: (id __nullable)  response
error: (nullable ThingSmartActivatorErrorModel *)  errorModel 
optional

Response information from the device (required for AP/BLE/Broadband service).

Parameters
serviceNetwork configuration instance.
typeNetwork configuration type.
responseResponse information from the device. For Wi-Fi network configuration errors:
  • response: ActivatorConfigResponse
    • response.response: ActivatorConfigResponseConfigWifi
errorModelError returned by the device.

◆ activatorService:activatorType:didReceiveResponse:error: [2/2]

- (void) activatorService: (id< ThingSmartActivatorActiveProtocol >)  service
activatorType: (ThingSmartActivatorTypeModel *)  type
didReceiveResponse: (id __nullable)  response
error: (nullable ThingSmartActivatorErrorModel *)  errorModel 
optional

Response information from the device (required for AP/BLE/Broadband service).

Parameters
serviceNetwork configuration instance.
typeNetwork configuration type.
responseResponse information from the device. For Wi-Fi network configuration errors:
  • response: ActivatorConfigResponse
    • response.response: ActivatorConfigResponseConfigWifi
errorModelError returned by the device.

◆ beaconServiceDidFinishConfigAllDevices [1/2]

- (void) beaconServiceDidFinishConfigAllDevices
optional

Batch network configuration completed, only supports beacon devices.

◆ beaconServiceDidFinishConfigAllDevices [2/2]

- (void) beaconServiceDidFinishConfigAllDevices
optional

Batch network configuration completed, only supports beacon devices.

◆ matterCommissioningSessionEstablishmentComplete: [1/2]

- (void) matterCommissioningSessionEstablishmentComplete: (ThingSmartActivatorDeviceModel *)  deviceModel
optional

Matter commission establish complet, model's type will be known.

Parameters
deviceModelDevice model.

◆ matterCommissioningSessionEstablishmentComplete: [2/2]

- (void) matterCommissioningSessionEstablishmentComplete: (ThingSmartActivatorDeviceModel *)  deviceModel
optional

Matter commission establish complet, model's type will be known.

Parameters
deviceModelDevice model.

◆ matterCommissioningStatusUpdate: [1/2]

- (void) matterCommissioningStatusUpdate: (ThingMatterDeviceStatus)  status
optional

Status when matter pairing.This API will called many times when pairing.

Parameters
statuspairing status

◆ matterCommissioningStatusUpdate: [2/2]

- (void) matterCommissioningStatusUpdate: (ThingMatterDeviceStatus)  status
optional

Status when matter pairing.This API will called many times when pairing.

Parameters
statuspairing status

◆ matterDeviceAttestation:error: [1/2]

- (void) matterDeviceAttestation: (void *)  device
error: (NSError *_Nonnull)  error 
optional

Matter device attestation fail, use -continueCommissioningDevice:ignoreAttestationFailure:error: to continue OR interrupt.

Notice Usually app will display a alert view to user, allowing the user to judge whether to ignore the attestation fail.

Parameters
devicethe failure device.
errorthe failure error info.

◆ matterDeviceAttestation:error: [2/2]

- (void) matterDeviceAttestation: (void *)  device
error: (NSError *_Nonnull)  error 
optional

Matter device attestation fail, use -continueCommissioningDevice:ignoreAttestationFailure:error: to continue OR interrupt.

Notice Usually app will display a alert view to user, allowing the user to judge whether to ignore the attestation fail.

Parameters
devicethe failure device.
errorthe failure error info.

◆ matterDeviceDiscoveryed: [1/2]

- (void) matterDeviceDiscoveryed: (ThingMatterDeviceDiscoveriedType *)  typeModel
optional

Discoveryed Matter Device.

Parameters
typeModeldevice type model

◆ matterDeviceDiscoveryed: [2/2]

- (void) matterDeviceDiscoveryed: (ThingMatterDeviceDiscoveriedType *)  typeModel
optional

Discoveryed Matter Device.

Parameters
typeModeldevice type model

◆ matterDeviceScannedAvailableWIFIList: [1/2]

- (void) matterDeviceScannedAvailableWIFIList: (NSArray< ThingActivatorMatterNetworkScannedModel * > *)  list
optional

Matter Device scanned available wifi list.

◆ matterDeviceScannedAvailableWIFIList: [2/2]

- (void) matterDeviceScannedAvailableWIFIList: (NSArray< ThingActivatorMatterNetworkScannedModel * > *)  list
optional

Matter Device scanned available wifi list.

◆ matterSupportComplete: [1/2]

- (void) matterSupportComplete: (NSString *)  gatewayName
optional

System matter support operation complete.

Parameters
gatewayNamegateway device name.

◆ matterSupportComplete: [2/2]

- (void) matterSupportComplete: (NSString *)  gatewayName
optional

System matter support operation complete.

Parameters
gatewayNamegateway device name.

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