Class CallLobby
- Object
-
- CallLobby
-
public final class CallLobby extends ObjectDescribes a Teams Meeting Lobby's information
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOnLobbyParticipantsUpdatedListener(ParticipantsUpdatedListener listener)Adds the specified listener to receive OnLobbyParticipantsUpdated events.CompletableFuture<AdmitParticipantsResult>admit(Iterable<CommunicationIdentifier> participants)Admit a participant from the Teams meeting lobbyCompletableFuture<AdmitAllParticipantsResult>admitAll()Admit all participants from the Teams meeting lobbyprotected voidfinalize()Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.List<RemoteParticipant>getParticipants()Get a list of remote participants in the current Teams meeting lobby.CompletableFuture<Void>reject(CommunicationIdentifier participant)Reject a participant from the Teams meeting lobbyvoidremoveOnLobbyParticipantsUpdatedListener(ParticipantsUpdatedListener listener)Removes the specified listener to receive OnLobbyParticipantsUpdated events.
-
-
-
Method Detail
-
finalize
protected void finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.- Overrides:
finalizein classObject
-
getParticipants
public List<RemoteParticipant> getParticipants()
Get a list of remote participants in the current Teams meeting lobby.
-
addOnLobbyParticipantsUpdatedListener
public void addOnLobbyParticipantsUpdatedListener(ParticipantsUpdatedListener listener)
Adds the specified listener to receive OnLobbyParticipantsUpdated events. LobbyParticipantsUpdated Event. Occurs when participants are added to or removed from a Teams meeting lobby.
-
removeOnLobbyParticipantsUpdatedListener
public void removeOnLobbyParticipantsUpdatedListener(ParticipantsUpdatedListener listener)
Removes the specified listener to receive OnLobbyParticipantsUpdated events. LobbyParticipantsUpdated Event. Occurs when participants are added to or removed from a Teams meeting lobby.
-
admitAll
public CompletableFuture<AdmitAllParticipantsResult> admitAll()
Admit all participants from the Teams meeting lobby
-
admit
public CompletableFuture<AdmitParticipantsResult> admit(Iterable<CommunicationIdentifier> participants)
Admit a participant from the Teams meeting lobby- Parameters:
participants- Identifier or the participant to admit from lobby
-
reject
public CompletableFuture<Void> reject(CommunicationIdentifier participant)
Reject a participant from the Teams meeting lobby- Parameters:
participant- Identifier or the participant to reject from lobby
-
-