Tuya iOS Smart Life App SDK 5.15.0
ThingSmartSocketWriteModel Class Reference

#import <ThingSmartSocketWriteModel.h>

Inheritance diagram for ThingSmartSocketWriteModel:

Instance Methods

(NSData *) - buildRequestData
 
(NSDictionary *) - attributes
 
(NSData *) - buildRequestData
 
(NSDictionary *) - attributes
 

Class Methods

(NSData *) + buildRequestUDPDataWithType:body:lpv:
 
(NSData *) + buildRequestUDPDataWithType:body:lpv:
 

Properties

NSString * gwId
 
BOOL encrypt
 
int index
 
int type
 
NSString * lpv
 
NSDictionary * body
 
NSString * localKey
 
NSData * data
 
NSData * localKeyData
 
ThingSuccessDict successBlock
 
ThingFailureError failureErrorBlock
 
ThingFailureHandler failureBlock
 

Detailed Description

Definition at line 12 of file ThingSmartSocketWriteModel.h.

Method Documentation

◆ attributes [1/2]

- (NSDictionary *) attributes

◆ attributes [2/2]

- (NSDictionary *) attributes

◆ buildRequestData [1/2]

- (NSData *) buildRequestData

◆ buildRequestData [2/2]

- (NSData *) buildRequestData

◆ buildRequestUDPDataWithType:body:lpv: [1/2]

+ (NSData *) buildRequestUDPDataWithType: (int)  type
body: (NSDictionary *)  body
lpv: (NSString *)  lpv 

◆ buildRequestUDPDataWithType:body:lpv: [2/2]

+ (NSData *) buildRequestUDPDataWithType: (int)  type
body: (NSDictionary *)  body
lpv: (NSString *)  lpv 

Property Documentation

◆ body

- (NSDictionary *) body
readwritenonatomicstrong

Definition at line 20 of file ThingSmartSocketWriteModel.h.

◆ data

- (NSData *) data
readwritenonatomicstrong

Definition at line 22 of file ThingSmartSocketWriteModel.h.

◆ encrypt

- (BOOL) encrypt
readwritenonatomicassign

Definition at line 15 of file ThingSmartSocketWriteModel.h.

◆ failureBlock

- (ThingFailureHandler) failureBlock
readwritenonatomiccopy

Definition at line 28 of file ThingSmartSocketWriteModel.h.

◆ failureErrorBlock

- (ThingFailureError) failureErrorBlock
readwritenonatomiccopy

Definition at line 27 of file ThingSmartSocketWriteModel.h.

◆ gwId

- (NSString *) gwId
readwritenonatomicstrong

Definition at line 14 of file ThingSmartSocketWriteModel.h.

◆ index

- (int) index
readwritenonatomicassign

Definition at line 17 of file ThingSmartSocketWriteModel.h.

◆ localKey

- (NSString *) localKey
readwritenonatomicstrong

Definition at line 21 of file ThingSmartSocketWriteModel.h.

◆ localKeyData

- (NSData *) localKeyData
readwritenonatomicstrong

Definition at line 23 of file ThingSmartSocketWriteModel.h.

◆ lpv

- (NSString *) lpv
readwritenonatomicstrong

Definition at line 19 of file ThingSmartSocketWriteModel.h.

◆ successBlock

- (ThingSuccessDict) successBlock
readwritenonatomiccopy

Definition at line 26 of file ThingSmartSocketWriteModel.h.

◆ type

- (int) type
readwritenonatomicassign

Definition at line 18 of file ThingSmartSocketWriteModel.h.


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