CallLobby Class
- java.
lang. Object - com.
azure. android. communication. calling. CallLobby
- com.
public class CallLobby
Describes a Teams Meeting Lobby's information
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| 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. |
|
CompletableFuture<Admit |
admit(Iterable<com.azure.android.communication.common.CommunicationIdentifier> participants)
Admit a participant from the Teams meeting lobby |
|
CompletableFuture<Admit |
admitAll()
Admit all participants from the Teams meeting lobby |
| void |
finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
|
List<Remote |
getParticipants()
Get a list of remote participants in the current Teams meeting lobby. |
| CompletableFuture<Void> |
reject(com.azure.android.communication.common.CommunicationIdentifier participant)
Reject a participant from the Teams meeting lobby |
| 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. |
Method Details
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.
Parameters:
admit
public CompletableFuture<AdmitParticipantsResult> admit(Iterable<com.azure.android.communication.common.CommunicationIdentifier> participants)
Admit a participant from the Teams meeting lobby
Parameters:
admitAll
public CompletableFuture<AdmitAllParticipantsResult> admitAll()
Admit all participants from the Teams meeting lobby
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.
getParticipants
public List<RemoteParticipant> getParticipants()
Get a list of remote participants in the current Teams meeting lobby.
reject
public CompletableFuture<Void> reject(com.azure.android.communication.common.CommunicationIdentifier participant)
Reject a participant from the Teams meeting lobby
Parameters:
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.
Parameters: