NIMSystemNotification Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | NIMSystemNotification.h |
notificationId
通知 ID
@property (nonatomic, assign, readonly) int64_t notificationIdDiscussion
通知 ID
Declared In
NIMSystemNotification.h
type
通知类型
@property (nonatomic, assign, readonly) NIMSystemNotificationType typeDiscussion
通知类型
Declared In
NIMSystemNotification.h
timestamp
时间戳
@property (nonatomic, assign, readonly) NSTimeInterval timestampDiscussion
时间戳
Declared In
NIMSystemNotification.h
sourceID
操作者
@property (nullable, nonatomic, copy, readonly) NSString *sourceIDDiscussion
操作者
Declared In
NIMSystemNotification.h
targetID
目标ID,群ID或者是用户ID
@property (nullable, nonatomic, copy, readonly) NSString *targetIDDiscussion
目标ID,群ID或者是用户ID
Declared In
NIMSystemNotification.h
postscript
附言
@property (nullable, nonatomic, copy, readonly) NSString *postscriptDiscussion
附言
Declared In
NIMSystemNotification.h
read
是否已读
@property (nonatomic, assign) BOOL readDiscussion
是否已读
修改这个属性并不会修改 db 中的数据
Declared In
NIMSystemNotification.h
handleStatus
消息处理状态
@property (nonatomic, assign) NSInteger handleStatusDiscussion
消息处理状态
修改这个属性,后台会自动更新 db 中对应的数据,SDK 调用者可以使用这个值来持久化他们对消息的处理结果,默认为 0
Declared In
NIMSystemNotification.h
notifyExt
系统通知下发的自定义扩展信息
@property (nullable, nonatomic, readonly) NSString *notifyExtDiscussion
系统通知下发的自定义扩展信息
Declared In
NIMSystemNotification.h
attachment
附件
@property (nullable, nonatomic, strong, readonly) id attachmentDeclared In
NIMSystemNotification.h