Tuya iOS Smart Life App SDK 5.15.0
ThingSmartGroupModel Class Reference

The group information. More...

#import <ThingSmartGroupModel.h>

Inheritance diagram for ThingSmartGroupModel:

Instance Methods

(BOOL) - isLANAndMQTTVersionSupport
 Returns YES if the device supports the current LAN and MQTT protocol version. More...
 
(BOOL) - isLANAndMQTTVersionSupport
 Returns YES if the device supports the current LAN and MQTT protocol version. More...
 
(BOOL) - isLANAndMQTTVersionSupport
 Returns YES if the device supports the current LAN and MQTT protocol version. More...
 
(BOOL) - isLANAndMQTTVersionSupport
 Returns YES if the device supports the current LAN and MQTT protocol version. More...
 

Class Methods

(ThingSmartGroupModel *) + groupModelWithGroupID:
 
(ThingSmartGroupModel *) + groupModelWithGroupID:
 
(ThingSmartGroupModel *) + groupModelWithGroupID:
 
(ThingSmartGroupModel *) + groupModelWithGroupID:
 

Properties

NSString * groupId
 The group ID. More...
 
NSString * productId
 The product ID. More...
 
NSString * productVer
 
long long time
 The time when the group was created. More...
 
NSString * name
 The name of the group. More...
 
NSString * iconUrl
 The URL of the icon. More...
 
ThingSmartGroupType type
 The type of group. More...
 
BOOL isShare
 
NSDictionary * dps
 The DPs. More...
 
NSDictionary * dpCodes
 The DP codes. More...
 
NSString * localKey
 The local key. More...
 
double pv
 The protocol version. More...
 
NSInteger deviceNum
 The number of devices,. More...
 
NSDictionary * productInfo
 The product information. More...
 
long long homeId
 The home ID. More...
 
long long roomId
 The room ID. More...
 
NSDictionary * dpName
 The custom DP name. More...
 
NSInteger displayOrder
 The order. More...
 
NSInteger homeDisplayOrder
 The order of all home groups. More...
 
NSArray< ThingSmartDeviceModel * > * deviceList
 The device list. More...
 
NSString * localId
 The local short address of groups. More...
 
NSString * pcc
 The subclass. More...
 
NSString * meshId
 The mesh ID or gateway ID. More...
 
NSArrayschemaArray
 The schema array. More...
 
BOOL standard
 Indicates whether the standard DP ID is used. More...
 
ThingSmartStandSchemaModelstandSchemaModel
 The standard schema. More...
 
NSString * groupKey
 
NSDictionary * groupMetaDictionary
 

Detailed Description

The group information.

Definition at line 27 of file ThingSmartGroupModel.h.

Method Documentation

◆ groupModelWithGroupID: [1/4]

+ (ThingSmartGroupModel *) groupModelWithGroupID: (NSString *)  groupID

根据GroupID获取当前的GroupModel

  • Parameter GroupID: GroupID String类型

Provided by category ThingSmartGroupModel(Home).

◆ groupModelWithGroupID: [2/4]

+ (ThingSmartGroupModel *) groupModelWithGroupID: (NSString *)  groupID

根据GroupID获取当前的GroupModel

  • Parameter GroupID: GroupID String类型

Provided by category ThingSmartGroupModel(Home).

◆ groupModelWithGroupID: [3/4]

+ (ThingSmartGroupModel *) groupModelWithGroupID: (NSString *)  groupID

根据GroupID获取当前的GroupModel

  • Parameter GroupID: GroupID String类型

Provided by category ThingSmartGroupModel(Home).

◆ groupModelWithGroupID: [4/4]

+ (ThingSmartGroupModel *) groupModelWithGroupID: (NSString *)  groupID

根据GroupID获取当前的GroupModel

  • Parameter GroupID: GroupID String类型

Provided by category ThingSmartGroupModel(Home).

◆ isLANAndMQTTVersionSupport [1/4]

- (BOOL) isLANAndMQTTVersionSupport

Returns YES if the device supports the current LAN and MQTT protocol version.

Provided by category ThingSmartGroupModel(VersionSupport).

◆ isLANAndMQTTVersionSupport [2/4]

- (BOOL) isLANAndMQTTVersionSupport

Returns YES if the device supports the current LAN and MQTT protocol version.

Provided by category ThingSmartGroupModel(VersionSupport).

◆ isLANAndMQTTVersionSupport [3/4]

- (BOOL) isLANAndMQTTVersionSupport

Returns YES if the device supports the current LAN and MQTT protocol version.

Provided by category ThingSmartGroupModel(VersionSupport).

◆ isLANAndMQTTVersionSupport [4/4]

- (BOOL) isLANAndMQTTVersionSupport

Returns YES if the device supports the current LAN and MQTT protocol version.

Provided by category ThingSmartGroupModel(VersionSupport).

Property Documentation

◆ deviceList

- (NSArray< ThingSmartDeviceModel * > *) deviceList
readwritenonatomicstrong

The device list.

Definition at line 85 of file ThingSmartGroupModel.h.

◆ deviceNum

- (NSInteger) deviceNum
readwritenonatomicassign

The number of devices,.

Definition at line 64 of file ThingSmartGroupModel.h.

◆ displayOrder

- (NSInteger) displayOrder
readwritenonatomicassign

The order.

Definition at line 79 of file ThingSmartGroupModel.h.

◆ dpCodes

- (NSDictionary *) dpCodes
readwritenonatomicstrong

The DP codes.

Definition at line 55 of file ThingSmartGroupModel.h.

◆ dpName

- (NSDictionary *) dpName
readwritenonatomiccopy

The custom DP name.

Definition at line 76 of file ThingSmartGroupModel.h.

◆ dps

- (NSDictionary *) dps
readwritenonatomicstrong

The DPs.

Definition at line 52 of file ThingSmartGroupModel.h.

◆ groupId

- (NSString *) groupId
readwritenonatomicstrong

The group ID.

Definition at line 30 of file ThingSmartGroupModel.h.

◆ groupKey

- (NSString *) groupKey
readwritenonatomicstrong

Definition at line 106 of file ThingSmartGroupModel.h.

◆ groupMetaDictionary

- (NSDictionary *) groupMetaDictionary
readnonatomicstrong

Definition at line 109 of file ThingSmartGroupModel.h.

◆ homeDisplayOrder

- (NSInteger) homeDisplayOrder
readwritenonatomicassign

The order of all home groups.

Definition at line 82 of file ThingSmartGroupModel.h.

◆ homeId

- (long long) homeId
readwritenonatomicassign

The home ID.

Definition at line 70 of file ThingSmartGroupModel.h.

◆ iconUrl

- (NSString *) iconUrl
readwritenonatomicstrong

The URL of the icon.

Definition at line 44 of file ThingSmartGroupModel.h.

◆ isShare

- (BOOL) isShare
readwritenonatomicassign

Definition at line 49 of file ThingSmartGroupModel.h.

◆ localId

- (NSString *) localId
readwritenonatomicstrong

The local short address of groups.

Definition at line 88 of file ThingSmartGroupModel.h.

◆ localKey

- (NSString *) localKey
readwritenonatomicstrong

The local key.

Definition at line 58 of file ThingSmartGroupModel.h.

◆ meshId

- (NSString *) meshId
readwritenonatomicstrong

The mesh ID or gateway ID.

Definition at line 94 of file ThingSmartGroupModel.h.

◆ name

- (NSString *) name
readwritenonatomicstrong

The name of the group.

Definition at line 41 of file ThingSmartGroupModel.h.

◆ pcc

- (NSString *) pcc
readwritenonatomicstrong

The subclass.

Definition at line 91 of file ThingSmartGroupModel.h.

◆ productId

- (NSString *) productId
readwritenonatomicstrong

The product ID.

Definition at line 33 of file ThingSmartGroupModel.h.

◆ productInfo

- (NSDictionary *) productInfo
readwritenonatomicstrong

The product information.

Definition at line 67 of file ThingSmartGroupModel.h.

◆ productVer

- (NSString *) productVer
readwritenonatomicstrong

Definition at line 35 of file ThingSmartGroupModel.h.

◆ pv

- (double) pv
readwritenonatomicassign

The protocol version.

Definition at line 61 of file ThingSmartGroupModel.h.

◆ roomId

- (long long) roomId
readwritenonatomicassign

The room ID.

Definition at line 73 of file ThingSmartGroupModel.h.

◆ schemaArray

- (NSArray *) schemaArray
readwritenonatomicstrong

The schema array.

Definition at line 97 of file ThingSmartGroupModel.h.

◆ standard

- (BOOL) standard
readwritenonatomicassign

Indicates whether the standard DP ID is used.

Definition at line 100 of file ThingSmartGroupModel.h.

◆ standSchemaModel

- (ThingSmartStandSchemaModel *) standSchemaModel
readnonatomicstrong

The standard schema.

Definition at line 103 of file ThingSmartGroupModel.h.

◆ time

- (long long) time
readwritenonatomicassign

The time when the group was created.

Definition at line 38 of file ThingSmartGroupModel.h.

◆ type

- (ThingSmartGroupType) type
readwritenonatomicassign

The type of group.

Definition at line 47 of file ThingSmartGroupModel.h.


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