![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
#import <ThingSmartMatterDeviceOperation.h>
Instance Methods | |
(instancetype) | - initWithDeviceModel: |
(BOOL) | - checkQueryPipelineAvailable |
Check the device query attributes command communicate channels available or not. More... | |
(void) | - queryAttributeBasicInfo:failure: |
(void) | - queryMatterAttributes:success:failure: |
(instancetype) | - initWithDeviceModel: |
(BOOL) | - checkQueryPipelineAvailable |
Check the device query attributes command communicate channels available or not. More... | |
(void) | - queryAttributeBasicInfo:failure: |
(void) | - queryMatterAttributes:success:failure: |
Definition at line 30 of file ThingSmartMatterDeviceOperation.h.
- (BOOL) checkQueryPipelineAvailable |
Check the device query attributes command communicate channels available or not.
- (BOOL) checkQueryPipelineAvailable |
Check the device query attributes command communicate channels available or not.
- (instancetype) initWithDeviceModel: | (ThingSmartDeviceModel *) | deviceModel |
Create a ThingSmartMatterDeviceOperation
object with a ThingSmartDeviceModel
object.
deviceModel | The object of ThingSmartDeviceModel |
- (instancetype) initWithDeviceModel: | (ThingSmartDeviceModel *) | deviceModel |
Create a ThingSmartMatterDeviceOperation
object with a ThingSmartDeviceModel
object.
deviceModel | The object of ThingSmartDeviceModel |
- (void) queryAttributeBasicInfo: | (void(^)(ThingSmartMatterAttributeBasicInfo *info)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Query matter basic infomation.
success | success. |
failure | failure. |
- (void) queryAttributeBasicInfo: | (void(^)(ThingSmartMatterAttributeBasicInfo *info)) | success | |
failure: | (nullable ThingFailureError) | failure | |
Query matter basic infomation.
success | success. |
failure | failure. |
- (void) queryMatterAttributes: | (NSArray< NSDictionary * > *) | attributes | |
success: | (ThingSuccessList) | success | |
failure: | (nullable ThingFailureError) | failure | |
Query matter device attributes info.
Input & Output Examples
Notice: Limit queries to fewer than 5 attributes at once
attributes | Matter attribute infos. |
success | success. |
failure | failure. |
- (void) queryMatterAttributes: | (NSArray< NSDictionary * > *) | attributes | |
success: | (ThingSuccessList) | success | |
failure: | (nullable ThingFailureError) | failure | |
Query matter device attributes info.
Input & Output Examples
Notice: Limit queries to fewer than 5 attributes at once
attributes | Matter attribute infos. |
success | success. |
failure | failure. |