permissionType property Null safety

EMChatRoomPermissionType permissionType
final

Gets the current user's role in the chat room. The role types: {@link EMChatRoomPermissionType}.

Note To get the correct value, ensure that you call {@link EMChatRoomManager#fetchChatRoomInfoFromServer(String)} before calling this method.

Implementation

final EMChatRoomPermissionType permissionType;