cn.tee3.avd_SDK-Objectc
2.1.0
|
房间中聊天模块接口. 更多...
构造函数 | |
(AVDResult) | - sendPublicMessage: |
发送公聊消息 更多... | |
(AVDResult) | - sendPrivateMessage:toUser: |
发送私聊消息 更多... | |
(NSMutableArray *) | - getPublicHistoryMessage:begin:count: |
获取公聊历史消息记录 更多... | |
(NSMutableArray *) | - getPrivateHistoryMessage:begin:count:userId: |
获取私聊历史消息记录 更多... | |
((unavailable("init is not a supported initializer for this class.") | - __attribute__ |
![]() | |
(BOOL) | - isSelfUser: |
判断是否是自己的用户Id 更多... | |
(BOOL) | - isSelfDevice: |
判断是否是自己的设备Id 更多... | |
(AVDUserId) | - getOwnerId: |
获取设备Id的关联用户Id 更多... | |
(NSString *) | - getOwnerName: |
获取设备Id的关联用户名称 更多... | |
类方法 | |
(AVDChat *) | + getChat: |
获取聊天功能模块对象 更多... | |
属性 | |
id< AVDChatDelegate > | delegate |
聊天回调代理 更多... | |
![]() | |
AVDRoom * | room |
房间对象指针 更多... | |
AVDUserManager * | usermanager |
用户管理模块指针 更多... | |
enum AVDModuleType | type |
模块类型 更多... | |
房间中聊天模块接口.
房间聊天模块定义房间中公聊和私聊等聊天功能接口。
- (( unavailable("init is not a supported initializer for this class.") __attribute__ |
- (NSMutableArray*) getPrivateHistoryMessage: | (BOOL) | latest | |
begin: | (NSInteger) | begindex | |
count: | (NSInteger) | count | |
userId: | (AVDUserId) | userId | |
获取私聊历史消息记录
[in] | latest | 是否是最新记录(即反序)。 |
[in] | begindex | 消息起始索引。 |
[in] | count | 请求消息数量。 |
[in] | userId | 聊天对方的用户Id。 |
- (NSMutableArray*) getPublicHistoryMessage: | (BOOL) | latest | |
begin: | (NSInteger) | begindex | |
count: | (NSInteger) | count | |
获取公聊历史消息记录
[in] | latest | 是否是最新记录(即反序)。 |
[in] | begindex | 消息起始索引。 |
[in] | count | 请求消息数量。 |
发送私聊消息
[in] | *message | 消息内容。 |
[in] | toId | 私聊消息目的用户Id。 |
- (AVDResult) sendPublicMessage: | (NSString *) | message |
发送公聊消息
[in] | *message | 消息内容。 |
|
readwritenonatomicweak |
聊天回调代理