NIMSDK-iOS
载入中...
搜索中...
未找到
NIMChatManagerProtocol.h 文件参考
#import <Foundation/Foundation.h>

浏览源代码.

protocol  <NIMChatManagerDelegate>
 
protocol  <NIMChatManager>
 

类型定义

typedef void(^ NIMSendTeamMessageReceiptsBlock) (NSError *__nullable error, NSArray< NIMMessageReceipt * > *__nullable failedReceipts)
 
typedef void(^ NIMRevokeMessageBlock) (NSError *__nullable error)
 
typedef void(^ NIMQueryReceiptDetailBlock) (NSError *__nullable error, NIMTeamMessageReceiptDetail *__nullable detail)
 
typedef void(^ NIMChatManagerBlock) (NSError *__nullable error)
 

变量

NS_ASSUME_NONNULL_BEGIN typedef void(^ NIMSendMessageReceiptBlock )(NSError *__nullable error)
 

类型定义说明

◆ NIMChatManagerBlock

typedef void(^ NIMChatManagerBlock) (NSError *__nullable error)

操作完成回调

参数
error错误,如果成功则error为nil

◆ NIMQueryReceiptDetailBlock

typedef void(^ NIMQueryReceiptDetailBlock) (NSError *__nullable error, NIMTeamMessageReceiptDetail *__nullable detail)

查询群组消息回执详情Block

参数
error错误,如果成功则error为nil
detail已读回执详情

◆ NIMRevokeMessageBlock

typedef void(^ NIMRevokeMessageBlock) (NSError *__nullable error)

撤回消息Block

参数
error错误信息,如果成功,error 为 nil

◆ NIMSendTeamMessageReceiptsBlock

typedef void(^ NIMSendTeamMessageReceiptsBlock) (NSError *__nullable error, NSArray< NIMMessageReceipt * > *__nullable failedReceipts)

Team 发送已读回执 Block

参数
error错误信息,如果成功,error 为 nil
failedReceipts失败的回执

变量说明

◆ NIMSendMessageReceiptBlock

NS_ASSUME_NONNULL_BEGIN typedef void(^ NIMSendMessageReceiptBlock) (NSError *__nullable error) ( NSError *__nullable  error)

P2P 发送已读回执 Block

参数
error错误信息,如果成功,error 为 nil