![]() |
Tuya iOS Smart Life App SDK 5.15.0
|
The model of a message list. More...
#import <ThingSmartMessageListModel.h>
Properties | |
NSString * | msgId |
The identifier of a message. More... | |
NSString * | msgTypeContent |
The title of a message. More... | |
NSString * | msgContent |
The content of a message. More... | |
NSString * | dateTime |
The formatted date and time. More... | |
NSInteger | time |
The timestamp of a message. More... | |
NSString * | icon |
The icon of a message. More... | |
NSArray< ThingSmartMessageAttachModel * > * | attachPicList |
A list of attachments. More... | |
BOOL | hasNotRead |
NSString * | msgSrcId |
The device ID. Only alert messages support this field. More... | |
NSInteger | alarmType |
Valid values: 1 means an alert message. 2 means an automation message. Only alert messages support this field to distinguish between alert messages and automation messages. The home messages and notifications are ignored. More... | |
NSInteger | msgType |
The type of message. Valid values: 0 means system messages. 1 means that new devices are added. 2 means that new friends are added. 4 means device alerts. More... | |
NSString * | msgCode |
The code of message. More... | |
long long | homeID |
The ID of the current home. More... | |
NSString * | homeName |
The name of the current home. More... | |
BOOL | isNeedPullEncKey |
Is it necessary to pull the key to decrypt attachPicList. If isNeedPullEncKey is true, you need to get the decryption key by calling fetchMessageDecryptKeyWithEncryptRequestModel: success: failure: More... | |
ThingSmartMessageListModelExtend * | extendParams |
Not all information will be available, some messages will return the orientation of the image, etc. More... | |
NSString * | actionURL |
The URL to navigate to when the message is clicked. More... | |
NSString * | attachPics |
Attachments (e.g., image.jpg; video.mp4; video.jpg; etc.) More... | |
The model of a message list.
Definition at line 60 of file ThingSmartMessageListModel.h.
|
readwritenonatomicstrong |
The URL to navigate to when the message is clicked.
Definition at line 110 of file ThingSmartMessageListModel.h.
|
readwritenonatomicassign |
Valid values: 1
means an alert message. 2
means an automation message. Only alert messages support this field to distinguish between alert messages and automation messages. The home messages and notifications are ignored.
Definition at line 89 of file ThingSmartMessageListModel.h.
|
readwritenonatomicstrong |
A list of attachments.
Definition at line 81 of file ThingSmartMessageListModel.h.
|
readwritenonatomicstrong |
Attachments (e.g., image.jpg; video.mp4; video.jpg; etc.)
Definition at line 113 of file ThingSmartMessageListModel.h.
|
readwritenonatomicstrong |
The formatted date and time.
Definition at line 72 of file ThingSmartMessageListModel.h.
|
readwritenonatomicstrong |
Not all information will be available, some messages will return the orientation of the image, etc.
Definition at line 107 of file ThingSmartMessageListModel.h.
|
readwritenonatomicassign |
Definition at line 83 of file ThingSmartMessageListModel.h.
|
readwritenonatomicassign |
The ID of the current home.
Definition at line 98 of file ThingSmartMessageListModel.h.
|
readwritenonatomiccopy |
The name of the current home.
Definition at line 101 of file ThingSmartMessageListModel.h.
|
readwritenonatomicstrong |
The icon of a message.
Definition at line 78 of file ThingSmartMessageListModel.h.
|
readwritenonatomicassign |
Is it necessary to pull the key to decrypt attachPicList. If isNeedPullEncKey is true, you need to get the decryption key by calling fetchMessageDecryptKeyWithEncryptRequestModel: success: failure:
Definition at line 104 of file ThingSmartMessageListModel.h.
|
readwritenonatomiccopy |
The code of message.
Definition at line 95 of file ThingSmartMessageListModel.h.
|
readwritenonatomicstrong |
The content of a message.
Definition at line 69 of file ThingSmartMessageListModel.h.
|
readwritenonatomicstrong |
The identifier of a message.
Definition at line 63 of file ThingSmartMessageListModel.h.
|
readwritenonatomicstrong |
The device ID. Only alert messages support this field.
Definition at line 86 of file ThingSmartMessageListModel.h.
|
readwritenonatomicassign |
The type of message. Valid values: 0
means system messages. 1
means that new devices are added. 2
means that new friends are added. 4
means device alerts.
Definition at line 92 of file ThingSmartMessageListModel.h.
|
readwritenonatomicstrong |
The title of a message.
Definition at line 66 of file ThingSmartMessageListModel.h.
|
readwritenonatomicassign |
The timestamp of a message.
Definition at line 75 of file ThingSmartMessageListModel.h.