permissionType property

EMGroupPermissionType? permissionType
final

~english Gets the current user's role in group.

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

~chinese 从内存中获取当前用户在群组中的角色。

Note 如需最新数据,需先从服务器获取: EMGroupManager.fetchGroupInfoFromServer

Return 当前用户在群组中的角色。 ~end

Implementation

final EMGroupPermissionType? permissionType;