HyphenateSDK  3.1.4
构造函数 | 类方法 | 属性 | 所有成员列表
EMChatroom类 参考

#import <EMChatroom.h>

类 EMChatroom 继承关系图:

构造函数

("Use +chatroomWithId:") - __deprecated_msg
 

类方法

(instancetype) + chatroomWithId:
 

属性

NSString * chatroomId
 
NSString * subject
 
NSString * description
 
NSString * owner
 
NSInteger occupantsCount
 
NSInteger maxOccupantsCount
 
NSArray * occupants
 

详细描述

EMChatroom.h 聊天室

作者
Hyphenate
版本
3.00

聊天室

函数文档

- ("Use +)chatroomWithId:

初始化聊天室实例

请使用[+chatroomWithId:]方法

返回
nil
+ (instancetype) chatroomWithId: (NSString *)  aChatroomId

获取聊天室实例

参数
aChatroomId聊天室ID
返回
聊天室实例

属性说明

- (NSString*) chatroomId
readnonatomiccopy

聊天室ID

- (NSString*) description
readnonatomiccopy

聊天室的描述

- (NSInteger) maxOccupantsCount
readnonatomicassign

聊天室的最大人数,如果没有获取聊天室详情将返回0

- (NSArray*) occupants
readnonatomiccopy

聊天室的成员列表,需要获取聊天室详情

- (NSInteger) occupantsCount
readnonatomicassign

聊天室的当前人数,如果没有获取聊天室详情将返回0

- (NSString*) owner
readnonatomiccopy

聊天室的所有者,需要获取聊天室详情

聊天室的所有者只有一人

- (NSString*) subject
readnonatomiccopy

聊天室的主题


该类的文档由以下文件生成: