Tuya iOS Smart Life App SDK 5.15.0
ThingSmartMatterShareManager Class Reference

#import <ThingSmartMatterShareManager.h>

Inheritance diagram for ThingSmartMatterShareManager:

Instance Methods

(void) - getDevicesFabricNodesWithdevIds:callback:
 shareInstance More...
 
(void) - writeAccessControlListWithDevId:success:failure:
 
(void) - notifyAccessControlListWithDevId:success:failure:
 
(void) - getDevicesFabricNodesWithdevIds:spaceId:callback:
 
(NSArray< ThingSmartMatterDeviceNodeModel * > *) - getDevicesLocalCacheFabricNodesWithdevIds:
 
(void) - setMatterNodes:
 
(void) - getDevicesFabricNodesWithdevIds:callback:
 shareInstance More...
 
(void) - writeAccessControlListWithDevId:success:failure:
 
(void) - notifyAccessControlListWithDevId:success:failure:
 
(void) - getDevicesFabricNodesWithdevIds:spaceId:callback:
 
(NSArray< ThingSmartMatterDeviceNodeModel * > *) - getDevicesLocalCacheFabricNodesWithdevIds:
 
(void) - setMatterNodes:
 

Detailed Description

Definition at line 12 of file ThingSmartMatterShareManager.h.

Method Documentation

◆ getDevicesFabricNodesWithdevIds:callback: [1/2]

- (void) getDevicesFabricNodesWithdevIds: (NSArray< NSString * > *)  devIds
callback: (void(^)(NSArray< ThingSmartMatterDeviceNodeModel * > *result))  callback 

shareInstance

Get the device fabric node.

Parameters
devIdsList of device id.
callbackCalled when the task is finished.

◆ getDevicesFabricNodesWithdevIds:callback: [2/2]

- (void) getDevicesFabricNodesWithdevIds: (NSArray< NSString * > *)  devIds
callback: (void(^)(NSArray< ThingSmartMatterDeviceNodeModel * > *result))  callback 

shareInstance

Get the device fabric node.

Parameters
devIdsList of device id.
callbackCalled when the task is finished.

◆ getDevicesFabricNodesWithdevIds:spaceId:callback: [1/2]

- (void) getDevicesFabricNodesWithdevIds: (NSArray< NSString * > *)  devIds
spaceId: (long long)  spaceId
callback: (void(^)(NSArray< ThingSmartMatterDeviceNodeModel * > *result))  callback 

Get the device fabric node models in specified space id.

Parameters
devIdsList of device id.
spaceIdThe space id. (aka home id)
callbackCalled when the task is finished.

◆ getDevicesFabricNodesWithdevIds:spaceId:callback: [2/2]

- (void) getDevicesFabricNodesWithdevIds: (NSArray< NSString * > *)  devIds
spaceId: (long long)  spaceId
callback: (void(^)(NSArray< ThingSmartMatterDeviceNodeModel * > *result))  callback 

Get the device fabric node models in specified space id.

Parameters
devIdsList of device id.
spaceIdThe space id. (aka home id)
callbackCalled when the task is finished.

◆ getDevicesLocalCacheFabricNodesWithdevIds: [1/2]

- (NSArray< ThingSmartMatterDeviceNodeModel * > *) getDevicesLocalCacheFabricNodesWithdevIds: (NSArray< NSString * > *)  devIds

Fetch the fabric nodes from local cached.

Parameters
devIdsList of device id.

◆ getDevicesLocalCacheFabricNodesWithdevIds: [2/2]

- (NSArray< ThingSmartMatterDeviceNodeModel * > *) getDevicesLocalCacheFabricNodesWithdevIds: (NSArray< NSString * > *)  devIds

Fetch the fabric nodes from local cached.

Parameters
devIdsList of device id.

◆ notifyAccessControlListWithDevId:success:failure: [1/2]

- (void) notifyAccessControlListWithDevId: (NSString *)  devId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Notify device write ACL (Access Controller List). Notice: The method used for Thing Matter Device.

Parameters
devIdList of device id.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ notifyAccessControlListWithDevId:success:failure: [2/2]

- (void) notifyAccessControlListWithDevId: (NSString *)  devId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Notify device write ACL (Access Controller List). Notice: The method used for Thing Matter Device.

Parameters
devIdList of device id.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ setMatterNodes: [1/2]

- (void) setMatterNodes: (NSArray< ThingSmartMatterDeviceNodeModel * > *)  nodeModelList

Set the matter node info.

Parameters
nodeModelListList of matter device node model.

◆ setMatterNodes: [2/2]

- (void) setMatterNodes: (NSArray< ThingSmartMatterDeviceNodeModel * > *)  nodeModelList

Set the matter node info.

Parameters
nodeModelListList of matter device node model.

◆ writeAccessControlListWithDevId:success:failure: [1/2]

- (void) writeAccessControlListWithDevId: (NSString *)  devId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Write ACL (Access Controller List) to Matter Device.

Parameters
devIdList of device id.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

◆ writeAccessControlListWithDevId:success:failure: [2/2]

- (void) writeAccessControlListWithDevId: (NSString *)  devId
success: (ThingSuccessHandler success
failure: (ThingFailureError failure 

Write ACL (Access Controller List) to Matter Device.

Parameters
devIdList of device id.
successCalled when the task is finished.
failureCalled when the task is interrupted by an error.

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