NIMSDK-iOS
载入中...
搜索中...
未找到
NIMMessage.h 文件参考
#import <Foundation/Foundation.h>
#import "NIMGlobalDefs.h"
#import "NIMSession.h"
#import "NIMLoginClient.h"
#import "NIMImageObject.h"
#import "NIMLocationObject.h"
#import "NIMAudioObject.h"
#import "NIMCustomObject.h"
#import "NIMVideoObject.h"
#import "NIMFileObject.h"
#import "NIMNotificationObject.h"
#import "NIMTipObject.h"
#import "NIMRobotObject.h"
#import "NIMMessageSetting.h"
#import "NIMMessageReceipt.h"
#import "NIMRtcCallRecordObject.h"
#import "NIMTeamMessageReceiptDetail.h"
#import "NIMAntiSpamOption.h"
#import "NIMMessageApnsMemberOption.h"
#import "NIMTeamMessageReceipt.h"
#import "NIMMessageRobotInfo.h"

浏览源代码.

class  NIMMessage
 

枚举

enum  NIMMessageDeliveryState { NIMMessageDeliveryStateFailed , NIMMessageDeliveryStateDelivering , NIMMessageDeliveryStateDeliveried }
 
enum  NIMMessageAttachmentDownloadState { NIMMessageAttachmentDownloadStateNeedDownload , NIMMessageAttachmentDownloadStateFailed , NIMMessageAttachmentDownloadStateDownloading , NIMMessageAttachmentDownloadStateDownloaded }
 
enum  NIMMessageStatus { NIMMessageStatusNone = 0 , NIMMessageStatusRead = 1 , NIMMessageStatusDeleted = 2 }
 

枚举类型说明

◆ NIMMessageAttachmentDownloadState

消息附件下载状态

枚举值
NIMMessageAttachmentDownloadStateNeedDownload 

附件需要进行下载 (有附件但并没有下载过)

NIMMessageAttachmentDownloadStateFailed 

附件收取失败 (尝试下载过一次并失败)

NIMMessageAttachmentDownloadStateDownloading 

附件下载中

NIMMessageAttachmentDownloadStateDownloaded 

附件下载成功/无附件

◆ NIMMessageDeliveryState

消息送达状态枚举

枚举值
NIMMessageDeliveryStateFailed 

消息发送失败

NIMMessageDeliveryStateDelivering 

消息发送中

NIMMessageDeliveryStateDeliveried 

消息发送成功

◆ NIMMessageStatus

消息处理状态

枚举值
NIMMessageStatusNone 
NIMMessageStatusRead 
NIMMessageStatusDeleted