![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
#import <ThingSmartMatterMultipleFabricShare.h>
Definition at line 24 of file ThingSmartMatterMultipleFabricShare.h.
- (BOOL) checkPipelineAvailable |
Check the device multiple fabric command communicate channels available or not.
- (BOOL) checkPipelineAvailable |
Check the device multiple fabric command communicate channels available or not.
- (NSString *) generateQrCodeWithFabricPasscodeModel: | ("This api is deprecate. Please use `- sendEnhancedCommissioning:ssidInfo:success:failure:` directly") | __deprecated_msg |
GenerateQrCode.
- (NSString *) generateQrCodeWithFabricPasscodeModel: | ("This api is deprecate. Please use `- sendEnhancedCommissioning:ssidInfo:success:failure:` directly") | __deprecated_msg |
GenerateQrCode.
- (void) getConnectedStatusSuccess: | (ThingSuccessHandler) | success | |
failure: | ("This api is deprecate.") | __deprecated_msg | |
Get matter connected Status.
- (void) getConnectedStatusSuccess: | (ThingSuccessHandler) | success | |
failure: | ("This api is deprecate.") | __deprecated_msg | |
Get matter connected Status.
- (void) getMultipleFabricPasscodeCompletion: | ("This api is deprecate. Please use `- sendEnhancedCommissioning:ssidInfo:success:failure:` directly") | __deprecated_msg |
Request the multiple fabric passcode model.
- (void) getMultipleFabricPasscodeCompletion: | ("This api is deprecate. Please use `- sendEnhancedCommissioning:ssidInfo:success:failure:` directly") | __deprecated_msg |
Request the multiple fabric passcode model.
- (void) getMultipleFabricPasscodeForceRefreshCompletion: | ("This api is deprecate. Please use `- sendEnhancedCommissioning:ssidInfo:success:failure:` directly") | __deprecated_msg |
Request the multiple fabric passcode model. (Force Refresh)
- (void) getMultipleFabricPasscodeForceRefreshCompletion: | ("This api is deprecate. Please use `- sendEnhancedCommissioning:ssidInfo:success:failure:` directly") | __deprecated_msg |
Request the multiple fabric passcode model. (Force Refresh)
- (void) getWifiDeviceSsid: | (ThingSuccessString) | success | |
failure: | (nullable ThingFailureError) | failure | |
Get the Wi-Fi ssid currently connected to the device.
- (void) getWifiDeviceSsid: | (ThingSuccessString) | success | |
failure: | (nullable ThingFailureError) | failure | |
Get the Wi-Fi ssid currently connected to the device.
- (instancetype) initWithDeviceModel: | (ThingSmartDeviceModel *) | deviceModel |
Create a ThingSmartMatterMultipleFabricShare
object with a ThingSmartDeviceModel
object.
deviceModel | The object of ThingSmartDeviceModel |
- (instancetype) initWithDeviceModel: | (ThingSmartDeviceModel *) | deviceModel |
Create a ThingSmartMatterMultipleFabricShare
object with a ThingSmartDeviceModel
object.
deviceModel | The object of ThingSmartDeviceModel |
- (void) readCommissionedFabricsSuccess: | (ThingSuccessInt) | success | |
failure: | ("This api is deprecate.") | __deprecated_msg | |
Read the commisstioned fabric count.
- (void) readCommissionedFabricsSuccess: | (ThingSuccessInt) | success | |
failure: | ("This api is deprecate.") | __deprecated_msg | |
Read the commisstioned fabric count.
- (void) readFabricsWithSuccess: | (void(^)(NSArray< ThingSmartMatterMultipleFabricInfoModel * > *fabrics)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Read fabric info list.
- (void) readFabricsWithSuccess: | (void(^)(NSArray< ThingSmartMatterMultipleFabricInfoModel * > *fabrics)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Read fabric info list.
- (void) readSupportedFabricsSuccess: | (ThingSuccessInt) | success | |
failure: | ("This api is deprecate.") | __deprecated_msg | |
Read supported fabric max count.
- (void) readSupportedFabricsSuccess: | (ThingSuccessInt) | success | |
failure: | ("This api is deprecate.") | __deprecated_msg | |
Read supported fabric max count.
- (void) removeFabricIndex: | (NSInteger) | fabricIndex | |
success: | (ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Remove fabric by fabric index. Notice: CAN'T remove current app fabric index.
- (void) removeFabricIndex: | (NSInteger) | fabricIndex | |
success: | (ThingSuccessHandler) | success | |
failure: | (nullable ThingFailureError) | failure | |
Remove fabric by fabric index. Notice: CAN'T remove current app fabric index.
- (void) revokeCommissioningCommandSuccess: | (ThingSuccessHandler) | success | |
failure: | ("This api is deprecate.") | __deprecated_msg | |
Close commissing window.
- (void) revokeCommissioningCommandSuccess: | (ThingSuccessHandler) | success | |
failure: | ("This api is deprecate.") | __deprecated_msg | |
Close commissing window.
- (void) sendEnhancedCommissioning: | (BOOL) | forceRefresh | |
ssidInfo: | (nullable void(^)(NSString *__nullable ssid)) | ssidInfo | |
success: | (void(^)(NSString *qrCodeStr, NSString *setupCode)) | success | |
failure: | ("Please use `-sendEnhancedCommissioningMethod:ssidInfo:success:failure:`") | __deprecated_msg | |
Open commissing window. (ECM Command)
- (void) sendEnhancedCommissioning: | (BOOL) | forceRefresh | |
ssidInfo: | (nullable void(^)(NSString *__nullable ssid)) | ssidInfo | |
success: | (void(^)(NSString *qrCodeStr, NSString *setupCode)) | success | |
failure: | ("Please use `-sendEnhancedCommissioningMethod:ssidInfo:success:failure:`") | __deprecated_msg | |
Open commissing window. (ECM Command)
- (void) sendEnhancedCommissioningCommandWithFabricPasscodeModel: | (ThingSmartMatterMultipleFabricPasscodeModel *) | passcodeModel | |
success: | (void(^)(NSString *qrCodeStr, NSString *setupCode)) | success | |
failure: | ("Please use `-sendEnhancedCommissioning:ssidInfo:success:failure:`") | __deprecated_msg | |
Open commissing window. (ECM Command). Notice This API is deprecated, -sendEnhancedCommissioning:ssidInfo:success:failure:
is recommended. If you still want to use, you should use some other API to check before use this API:
-getConnectedStatusSuccess:
to check device connect status-readSupportedFabricsSuccess:failure:
to get the maximum supported fabrics, and use -readSupportedFabricsSuccess:failure:
to get the used fabrics number, if them equal, you CAN'T continue the flow.-revokeCommissioningCommandSuccess:failure:
to precheck the commissioning window.-getMultipleFabricPasscodeCompletion:
or -getMultipleFabricPasscodeForceRefreshCompletion
to Get the passcodeModel.Parameters:
-getMultipleFabricPasscodeCompletion:
or -getMultipleFabricPasscodeForceRefreshCompletion
to Get the passcodeModel.- (void) sendEnhancedCommissioningCommandWithFabricPasscodeModel: | (ThingSmartMatterMultipleFabricPasscodeModel *) | passcodeModel | |
success: | (void(^)(NSString *qrCodeStr, NSString *setupCode)) | success | |
failure: | ("Please use `-sendEnhancedCommissioning:ssidInfo:success:failure:`") | __deprecated_msg | |
Open commissing window. (ECM Command). Notice This API is deprecated, -sendEnhancedCommissioning:ssidInfo:success:failure:
is recommended. If you still want to use, you should use some other API to check before use this API:
-getConnectedStatusSuccess:
to check device connect status-readSupportedFabricsSuccess:failure:
to get the maximum supported fabrics, and use -readSupportedFabricsSuccess:failure:
to get the used fabrics number, if them equal, you CAN'T continue the flow.-revokeCommissioningCommandSuccess:failure:
to precheck the commissioning window.-getMultipleFabricPasscodeCompletion:
or -getMultipleFabricPasscodeForceRefreshCompletion
to Get the passcodeModel.Parameters:
-getMultipleFabricPasscodeCompletion:
or -getMultipleFabricPasscodeForceRefreshCompletion
to Get the passcodeModel.- (void) sendEnhancedCommissioningMethod: | (BOOL) | forceRefresh | |
ssidInfo: | (nullable void(^)(NSString *__nullable ssid)) | ssidInfo | |
success: | (void(^)(ThingSmartMatterFabricShareModel *shareModel)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Open commissing window. (ECM Command)
- (void) sendEnhancedCommissioningMethod: | (BOOL) | forceRefresh | |
ssidInfo: | (nullable void(^)(NSString *__nullable ssid)) | ssidInfo | |
success: | (void(^)(ThingSmartMatterFabricShareModel *shareModel)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Open commissing window. (ECM Command)