![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
#import <ThingSmartMatterActivator.h>
Properties | |
| id< ThingSmartMatterActivatorDelegate > | delegate |
| ThingSmartMatterDeviceModel * | currentDeviceModel |
Definition at line 76 of file ThingSmartMatterActivator.h.
| - (void) cancelActivator |
Cancel current activator.
| - (void) cancelActivator |
Cancel current activator.
| - (nullable ThingSmartMatterSetupPayload *) checkMatterCodeInvalid: | ("Will be removed in the) | future | |
| (please use connectDeviceWithSetupPayload") | __deprecated_msg | ||
Provided by category ThingSmartMatterActivator(Deprecated).
| - (nullable ThingSmartMatterSetupPayload *) checkMatterCodeInvalid: | ("Will be removed in the) | future | |
| (please use connectDeviceWithSetupPayload") | __deprecated_msg | ||
Provided by category ThingSmartMatterActivator(Deprecated).
| - (void) commissionDevice: | (nonnull ThingSmartMatterDeviceModel *) | deviceModel | |
| commissionModel: | (ThingSmartMatterCommissionModel *) | commissionModel | |
Continue pair WIFI or Thread matter device when session establishment completed.
Notice: There are some rules before use this api to continue pair the matter device.
- matterCommissioningSessionEstablishmentComplete:routingType must be equal to ThingMatterRoutingTypeThing. (routingType can be known by -matterRoutingComplete:)- matterCommissioningSessionEstablishmentComplete:| - (void) commissionDevice: | (nonnull ThingSmartMatterDeviceModel *) | deviceModel | |
| commissionModel: | (ThingSmartMatterCommissionModel *) | commissionModel | |
Continue pair WIFI or Thread matter device when session establishment completed.
Notice: There are some rules before use this api to continue pair the matter device.
- matterCommissioningSessionEstablishmentComplete:routingType must be equal to ThingMatterRoutingTypeThing. (routingType can be known by -matterRoutingComplete:)- matterCommissioningSessionEstablishmentComplete:| - (void) connectDeviceWithConnectDeviceBuilder: | (ThingSmartConnectDeviceBuilder *) | builder | |
| timeout: | (NSTimeInterval) | timeout | |
Start connect the matter device.
| - (void) connectDeviceWithConnectDeviceBuilder: | (ThingSmartConnectDeviceBuilder *) | builder | |
| timeout: | (NSTimeInterval) | timeout | |
Start connect the matter device.
| - (void) continueCommissionDevice: | (nonnull ThingSmartMatterDeviceModel *) | deviceModel | |
| WithSSID: | (nonnull NSString *) | ssid | |
| password: | ("Will be removed in the) | future | |
| (please use commissionDevice:commissionModel:") | __deprecated_msg | ||
Provided by category ThingSmartMatterActivator(Deprecated).
| - (void) continueCommissionDevice: | (nonnull ThingSmartMatterDeviceModel *) | deviceModel | |
| WithSSID: | (nonnull NSString *) | ssid | |
| password: | ("Will be removed in the) | future | |
| (please use commissionDevice:commissionModel:") | __deprecated_msg | ||
Provided by category ThingSmartMatterActivator(Deprecated).
| - (void) continueCommissioningDevice: | (void *) | device | |
| ignoreAttestationFailure: | (BOOL) | ignoreAttestationFailure | |
| error: | (NSError *__autoreleasing *) | error | |
Continue the pairing or NOT.
Notice: Can only be used after the -matterDeviceAttestation:error: delegate callback.
-matterDeviceAttestation:error: delegate callback.YES - continue pairing, NO - interrupt pairing.| - (void) continueCommissioningDevice: | (void *) | device | |
| ignoreAttestationFailure: | (BOOL) | ignoreAttestationFailure | |
| error: | (NSError *__autoreleasing *) | error | |
Continue the pairing or NOT.
Notice: Can only be used after the -matterDeviceAttestation:error: delegate callback.
-matterDeviceAttestation:error: delegate callback.YES - continue pairing, NO - interrupt pairing.| - (void) pairDeviceWithSetupPayload: | (ThingSmartMatterSetupPayload *) | payload | |
| toke: | (NSString *) | token | |
| spaceId: | (long long) | spaceId | |
| timeout: | ("Will be removed in the) | future | |
| (please use connectDeviceWithSetupPayload") | __deprecated_msg | ||
Provided by category ThingSmartMatterActivator(Deprecated).
| - (void) pairDeviceWithSetupPayload: | (ThingSmartMatterSetupPayload *) | payload | |
| toke: | (NSString *) | token | |
| spaceId: | (long long) | spaceId | |
| timeout: | ("Will be removed in the) | future | |
| (please use connectDeviceWithSetupPayload") | __deprecated_msg | ||
Provided by category ThingSmartMatterActivator(Deprecated).
| - (nullable ThingSmartMatterSetupPayload *) parseSetupCode: | (NSString *) | matterCode |
shareInstance
Check the matter code is legal or not. Returns nil if it is invalid.
| - (nullable ThingSmartMatterSetupPayload *) parseSetupCode: | (NSString *) | matterCode |
shareInstance
Check the matter code is legal or not. Returns nil if it is invalid.
| - (void) setGatewayDeviceBeforePairing: | ("⚠️⚠️⚠️ This api causes issues. Will be removed in the) | future | |
| (if you want set) | gwid | ||
| (please set in commissionDevice:commssionModel:") | __deprecated_msg | ||
Provided by category ThingSmartMatterActivator(Deprecated).
| - (void) setGatewayDeviceBeforePairing: | ("⚠️⚠️⚠️ This api causes issues. Will be removed in the) | future | |
| (if you want set) | gwid | ||
| (please set in commissionDevice:commssionModel:") | __deprecated_msg | ||
Provided by category ThingSmartMatterActivator(Deprecated).
| - (void) startScanAvailableWIFI |
scan device acvailable wifi list.
| - (void) startScanAvailableWIFI |
scan device acvailable wifi list.
|
readnonatomicstrong |
Definition at line 80 of file ThingSmartMatterActivator.h.
|
readwritenonatomicweak |
Definition at line 78 of file ThingSmartMatterActivator.h.