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