Class SpotlightCallFeature
- Object
-
- CallFeature
-
- SpotlightCallFeature
-
public final class SpotlightCallFeature extends CallFeature
Call Feature for managing spotlight states in a call.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOnSpotlightChangedListener(SpotlightChangedListener listener)
Adds the specified listener to receive OnSpotlightChanged events.CompletableFuture<Void>
cancelAllSpotlights()
Send request to stop spotlight for all spotlighted participantsCompletableFuture<Void>
cancelSpotlights(CommunicationIdentifier... identifiers)
Cancel spotlight for participantsCompletableFuture<Void>
cancelSpotlights(Iterable<CommunicationIdentifier> identifiers)
Cancel spotlight for participantsint
getMaxSpotlightedParticipants()
Send request to return the maximum number of participants that can be spotlightedList<SpotlightedParticipant>
getSpotlightedParticipants()
Send request to get a list of all spotlighted participantsvoid
removeOnSpotlightChangedListener(SpotlightChangedListener listener)
Removes the specified listener to receive OnSpotlightChanged events.CompletableFuture<Void>
spotlight(CommunicationIdentifier... identifiers)
Starts spotlight for participantsCompletableFuture<Void>
spotlight(Iterable<CommunicationIdentifier> identifiers)
Starts spotlight for participants-
Methods inherited from class CallFeature
finalize, getName
-
-
-
-
Method Detail
-
getMaxSpotlightedParticipants
public int getMaxSpotlightedParticipants()
Send request to return the maximum number of participants that can be spotlighted
-
getSpotlightedParticipants
public List<SpotlightedParticipant> getSpotlightedParticipants()
Send request to get a list of all spotlighted participants
-
addOnSpotlightChangedListener
public void addOnSpotlightChangedListener(SpotlightChangedListener listener)
Adds the specified listener to receive OnSpotlightChanged events. Spotlight event occurs when any user starts or stops spotlight.
-
removeOnSpotlightChangedListener
public void removeOnSpotlightChangedListener(SpotlightChangedListener listener)
Removes the specified listener to receive OnSpotlightChanged events. Spotlight event occurs when any user starts or stops spotlight.
-
cancelAllSpotlights
public CompletableFuture<Void> cancelAllSpotlights()
Send request to stop spotlight for all spotlighted participants
-
spotlight
public CompletableFuture<Void> spotlight(Iterable<CommunicationIdentifier> identifiers)
Starts spotlight for participants- Parameters:
identifiers
- List of participants id that needs to be spotlighted.
-
spotlight
public CompletableFuture<Void> spotlight(CommunicationIdentifier... identifiers)
Starts spotlight for participants- Parameters:
identifiers
- variable number of participants id that needs to be spotlighted.
-
cancelSpotlights
public CompletableFuture<Void> cancelSpotlights(Iterable<CommunicationIdentifier> identifiers)
Cancel spotlight for participants- Parameters:
identifiers
- List of participants id that should have spotlight state removed
-
cancelSpotlights
public CompletableFuture<Void> cancelSpotlights(CommunicationIdentifier... identifiers)
Cancel spotlight for participants- Parameters:
identifiers
- variable number of participants id that should have spotlight state removed
-
-