◆ getRoomChannelWithRoomID:
登陆成功后 ,获取RoomChannel实例
- Parameters
-
◆ getRoomDetailWithID:onSuccess:onFailure:
- (void) getRoomDetailWithID: |
|
(NSString *) |
roomID |
onSuccess: |
|
(void(^)(AIRBRoomBasicInfo *_Nonnull info)) |
onSuccess |
onFailure: |
|
(void(^)(NSString *errorMessage)) |
onFailure |
|
|
| |
◆ getRoomListWithPageNum:pageSize:onSuccess:onFailure:
- (void) getRoomListWithPageNum: |
|
(int32_t) |
pageNum |
pageSize: |
|
(int32_t) |
pageSize |
onSuccess: |
|
(void(^)(AIRBRoomEngineRoomListResponse *_Nonnull response)) |
onSuccess |
onFailure: |
|
(void(^)(NSString *errorMessage)) |
onFailure |
|
|
| |
获取房间列表
- Parameters
-
pageNum | 页码,从1开始 |
pageSize | 当前页面房间数量 |
◆ globalInitOnceWithConfig:
◆ isInited
◆ isLogined:
- (BOOL) isLogined: |
|
(NSString *) |
userID |
|
◆ loginWithUserID:
- (void) loginWithUserID: |
|
(nonnull NSString *) |
userID |
|
登录
- Parameters
-
userID | 需要登陆的用户ID, 必须是阿拉伯数字或者英文字母或二者的混合 |
- Note
- 旧版本登录接口的token参数通过请求token事件(onAIRBRoomEngineRequestToken:)的回调获取
◆ logoutOnSuccess:onFailure:
- (void) logoutOnSuccess: |
|
(void(^)(void)) |
onSuccess |
onFailure: |
|
(void(^)(NSString *errorMessage)) |
onFailure |
|
|
| |
◆ sharedInstance
The documentation for this class was generated from the following file: