permissionType property

EMChatRoomPermissionType permissionType
final

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

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

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

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

Implementation

final EMChatRoomPermissionType permissionType;