Membership Service
This interface defines methods to handling membership. It's implemented at the room level.
Functions
Link copied to clipboard
All the room members can be not loaded, for instance after an initial sync. All the members will be loaded when calling loadRoomMembersIfNeeded, or when sending an encrypted event to the room. The fun let the app know if all the members have been loaded for this room.
Link copied to clipboard
Live version for areAllMembersLoaded.
Link copied to clipboard
Link copied to clipboard
Return the roomMember with userId or null.
Link copied to clipboard
abstract fun getRoomMembers(queryParams: RoomMemberQueryParams): List<RoomMemberSummary>
Content copied to clipboard
Return all the roomMembers of the room with params.
Link copied to clipboard
abstract fun getRoomMembersLive(queryParams: RoomMemberQueryParams): LiveData<List<RoomMemberSummary>>
Content copied to clipboard
Return all the roomMembers of the room filtered by memberships.
Link copied to clipboard
Invite a user with email or phone number in the room.
Link copied to clipboard
This methods load all room members if it was done yet.