get Chat Member
获取群成员 注意,本接口会返回全部的成员数据,如需分页请使用KIMCore.getChatMember
注意:本接口需要等 KIMCore.connectWithToken成功之后才能调用
Parameters
chat Id
群组id
callback
注意:会多次返回
fun getChatMember(chatId: String, callback: IResultCallback<List<KIMCoreChatMember>>, callbackUntilFullFinish: Boolean)
获取群成员(可通过参数callbackUntilFullFinish决定是否一次回调) 注意,本接口会返回全部的成员数据,如需分页请使用KIMCore.getChatMember
注意:本接口需要等 KIMCore.connectWithToken成功之后才能调用
Parameters
chat Id
群组id
callback
callback Until Full Finish
true--数据完全加载完才回调,false--数据分批回调
获取群成员 注意:本接口需要等 KIMCore.connectWithToken成功之后才能调用
Parameters
chat Id
群组id
user Id
用户id
callback
注意:会多次返回
fun getChatMember(chatId: String, offset: Int, count: Int, callback: IResultCallback<List<KIMCoreChatMember>>)
批量获取群成员 成员总数可以通过KIMCore.getChatMetaInfo来获得
注意:本接口需要等 KIMCore.connectWithToken成功之后才能调用
Parameters
chat Id
会话id
offset
分页偏移量,第一传0, 第N页, 传 (N -1) * count
count
一页数量,大于0,小于100
callback
当返回的数据少于count的时候,表示没有下一页了