permissionType property

ChatRoomPermissionType permissionType
final

~english Gets the current user's role in the chat room. The role types: ChatRoomPermissionType.

Note To get the correct value, ensure that you call ChatRoomManager.fetchChatRoomInfoFromServer before calling this method. ~end

~chinese 从内存中获取当前用户在聊天室角色,详见 ChatRoomPermissionType

Note 如果需要获取最新值,请调用 ChatRoomManager.fetchChatRoomInfoFromServer。 ~end

Implementation

final ChatRoomPermissionType permissionType;