Tuya iOS Smart Life App SDK 5.15.0
ThingSmartMatterDeviceModel Class Reference

#import <ThingSmartMatterDeviceModel.h>

Inheritance diagram for ThingSmartMatterDeviceModel:

Instance Methods

(instancetype) - initWithPayload:
 
(instancetype) - initWithPayload:
 

Properties

ThingSmartMatterDeviceNodeModelnodeModel
 Matter node model. More...
 
ThingSmartMatterSetupPayloadpayload
 Setup payload. More...
 
WTLBaseDevicechipDevice
 Chip Device object. More...
 
ThingSmartDeviceModeldeviceModel
 Thing device model. More...
 
ThingSmartMatterDeviceType matterType
 Matter device type. More...
 
ThingMatterRoutingType routingType
 Pair routing type. More...
 
NSString * thingProductId
 Thing product id. More...
 
BOOL isOrigin
 Is origin matter or thing matter device. More...
 
long long nodeId
 Matter device node id. More...
 
BOOL isOnline
 Online status. More...
 
long long spaceId
 Space id. (aka home id) More...
 
long long adminNodeId
 Admin node id. More...
 
long long adminFabricId
 Admin fabric id. More...
 
BOOL control
 Controlable. More...
 
BOOL withoutThread
 if yes, means scan no thread network More...
 
NSString * uuid
 
NSString * operationalDeviceName
 
NSString * softVersion
 
BOOL isShareMatter
 
NSString * gatewayId
 
NSArray< NSNumber * > * cats
 Cat, only use for gateway. More...
 
NSString * originNamel
 
NSNumber * powerSourceFeature
 
BOOL shouldRejectShare
 
NSArray< ThingSmartMatterNetworkScannedModel * > * availableWIFIList
 

Detailed Description

Definition at line 13 of file ThingSmartMatterDeviceModel.h.

Method Documentation

◆ initWithPayload: [1/2]

- (instancetype) initWithPayload: (ThingSmartMatterSetupPayload *)  payload

◆ initWithPayload: [2/2]

- (instancetype) initWithPayload: (ThingSmartMatterSetupPayload *)  payload

Property Documentation

◆ adminFabricId

- (long long) adminFabricId
readwritenonatomicassign

Admin fabric id.

Definition at line 52 of file ThingSmartMatterDeviceModel.h.

◆ adminNodeId

- (long long) adminNodeId
readwritenonatomicassign

Admin node id.

Definition at line 49 of file ThingSmartMatterDeviceModel.h.

◆ availableWIFIList

- (NSArray< ThingSmartMatterNetworkScannedModel * > *) availableWIFIList
readwritenonatomicstrong

Definition at line 80 of file ThingSmartMatterDeviceModel.h.

◆ cats

- (NSArray< NSNumber * > *) cats
readwritenonatomicstrong

Cat, only use for gateway.

Definition at line 72 of file ThingSmartMatterDeviceModel.h.

◆ chipDevice

- (WTLBaseDevice *) chipDevice
readwritenonatomicstrong

Chip Device object.

Definition at line 22 of file ThingSmartMatterDeviceModel.h.

◆ control

- (BOOL) control
readwritenonatomicassign

Controlable.

Definition at line 55 of file ThingSmartMatterDeviceModel.h.

◆ deviceModel

- (ThingSmartDeviceModel *) deviceModel
readwritenonatomicstrong

Thing device model.

Definition at line 25 of file ThingSmartMatterDeviceModel.h.

◆ gatewayId

- (NSString *) gatewayId
readwritenonatomicstrong

this is scaned gatewayId. if you set gatewayid in connectDeviceWithConnectDeviceBuilder, this gateway will equal to the gateway id you set. If you do not set any gatewayid and withoutThread is true, this "gatewayId" will be nill. You can set gateway id with commissionModel in interface "commissionDevice:commissionModel:"

Definition at line 70 of file ThingSmartMatterDeviceModel.h.

◆ isOnline

- (BOOL) isOnline
readwritenonatomicassign

Online status.

Definition at line 43 of file ThingSmartMatterDeviceModel.h.

◆ isOrigin

- (BOOL) isOrigin
readwritenonatomicassign

Is origin matter or thing matter device.

Definition at line 37 of file ThingSmartMatterDeviceModel.h.

◆ isShareMatter

- (BOOL) isShareMatter
readwritenonatomicassign

Definition at line 66 of file ThingSmartMatterDeviceModel.h.

◆ matterType

- (ThingSmartMatterDeviceType) matterType
readwritenonatomicassign

Matter device type.

Definition at line 28 of file ThingSmartMatterDeviceModel.h.

◆ nodeId

- (long long) nodeId
readwritenonatomicassign

Matter device node id.

Definition at line 40 of file ThingSmartMatterDeviceModel.h.

◆ nodeModel

- (ThingSmartMatterDeviceNodeModel *) nodeModel
readwritenonatomicstrong

Matter node model.

Definition at line 16 of file ThingSmartMatterDeviceModel.h.

◆ operationalDeviceName

- (NSString *) operationalDeviceName
readwritenonatomicstrong

Definition at line 62 of file ThingSmartMatterDeviceModel.h.

◆ originNamel

- (NSString *) originNamel
readwritenonatomicstrong

Definition at line 74 of file ThingSmartMatterDeviceModel.h.

◆ payload

- (ThingSmartMatterSetupPayload *) payload
readwritenonatomicstrong

Setup payload.

Definition at line 19 of file ThingSmartMatterDeviceModel.h.

◆ powerSourceFeature

- (NSNumber *) powerSourceFeature
readwritenonatomicstrong

Definition at line 76 of file ThingSmartMatterDeviceModel.h.

◆ routingType

- (ThingMatterRoutingType) routingType
readwritenonatomicassign

Pair routing type.

Definition at line 31 of file ThingSmartMatterDeviceModel.h.

◆ shouldRejectShare

- (BOOL) shouldRejectShare
readwritenonatomicassign

Definition at line 78 of file ThingSmartMatterDeviceModel.h.

◆ softVersion

- (NSString *) softVersion
readwritenonatomicstrong

Definition at line 64 of file ThingSmartMatterDeviceModel.h.

◆ spaceId

- (long long) spaceId
readwritenonatomicassign

Space id. (aka home id)

Definition at line 46 of file ThingSmartMatterDeviceModel.h.

◆ thingProductId

- (NSString *) thingProductId
readwritenonatomicstrong

Thing product id.

Definition at line 34 of file ThingSmartMatterDeviceModel.h.

◆ uuid

- (NSString *) uuid
readwritenonatomicstrong

Definition at line 60 of file ThingSmartMatterDeviceModel.h.

◆ withoutThread

- (BOOL) withoutThread
readwritenonatomicassign

if yes, means scan no thread network

Definition at line 58 of file ThingSmartMatterDeviceModel.h.


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