CallLobby Class

  • java.lang.Object
    • com.azure.android.communication.calling.CallLobby

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<AdmitParticipantsResult> admit(Iterable<com.azure.android.communication.common.CommunicationIdentifier> participants)

Admit a participant from the Teams meeting lobby

CompletableFuture<AdmitAllParticipantsResult> 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<RemoteParticipant> 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:

listener

admit

public CompletableFuture admit(Iterable participants)

Admit a participant from the Teams meeting lobby

Parameters:

participants

admitAll

public CompletableFuture 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 getParticipants()

Get a list of remote participants in the current Teams meeting lobby.

reject

public CompletableFuture reject(com.azure.android.communication.common.CommunicationIdentifier participant)

Reject a participant from the Teams meeting lobby

Parameters:

participant - Identifier or the participant to reject from 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.

Parameters:

listener

Applies to