NERoomChatController

interface NERoomChatController : NEBaseController

聊天控制器

Functions

fetchChatroomMembers
Link copied to clipboard
abstract fun fetchChatroomMembers(type: NEChatroomMemberQueryType, limit: Int, callback: NECallback<List<NEChatroomMember>>?)
获取聊天室成员信息
joinChatroom
Link copied to clipboard
abstract fun joinChatroom(callback: NECallback<Unit>? = null)
加入聊天室
leaveChatroom
Link copied to clipboard
abstract fun leaveChatroom(callback: NECallback<Unit>? = null)
离开聊天室
sendBroadcastTextMessage
Link copied to clipboard
abstract fun sendBroadcastTextMessage(message: String, callback: NECallback<Unit>? = null)
发送广播消息
sendDirectTextMessage
Link copied to clipboard
abstract fun sendDirectTextMessage(userUuid: String, message: String, callback: NECallback<Unit>? = null)
发送定向消息
sendGroupTextMessage
Link copied to clipboard
abstract fun sendGroupTextMessage(userUuids: List<String>, message: String, callback: NECallback<Unit>? = null)
给多人发送消息

Properties

isSupported
Link copied to clipboard
abstract val isSupported: Boolean
功能是否支持