Class RaiseHandCallFeature
- Object
-
- CallFeature
-
- RaiseHandCallFeature
-
public final class RaiseHandCallFeature extends CallFeature
Call Feature for managing raise hand states for participants on the call.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOnHandLoweredListener(LoweredHandListener listener)
Adds the specified listener to receive OnHandLowered events.void
addOnHandRaisedListener(RaisedHandListener listener)
Adds the specified listener to receive OnHandRaised events.List<RaisedHand>
getRaisedHands()
Get all active raised hands.CompletableFuture<Void>
lowerAllHands()
Send request to lower raised hands for every user on the call.CompletableFuture<Void>
lowerHand()
Send request to lower hand for local user.CompletableFuture<Void>
lowerHands(Iterable<CommunicationIdentifier> identifiers)
Information about the event participantCompletableFuture<Void>
raiseHand()
Send request to raise hand for local user.void
removeOnHandLoweredListener(LoweredHandListener listener)
Removes the specified listener to receive OnHandLowered events.void
removeOnHandRaisedListener(RaisedHandListener listener)
Removes the specified listener to receive OnHandRaised events.-
Methods inherited from class CallFeature
finalize, getName
-
-
-
-
Method Detail
-
getRaisedHands
public List<RaisedHand> getRaisedHands()
Get all active raised hands. Sorted by order of raise hand events.
-
addOnHandRaisedListener
public void addOnHandRaisedListener(RaisedHandListener listener)
Adds the specified listener to receive OnHandRaised events. RaisedHand event occurs when any user has raised hand.
-
removeOnHandRaisedListener
public void removeOnHandRaisedListener(RaisedHandListener listener)
Removes the specified listener to receive OnHandRaised events. RaisedHand event occurs when any user has raised hand.
-
addOnHandLoweredListener
public void addOnHandLoweredListener(LoweredHandListener listener)
Adds the specified listener to receive OnHandLowered events. LoweredHand event occurs when any user has lowered hand.
-
removeOnHandLoweredListener
public void removeOnHandLoweredListener(LoweredHandListener listener)
Removes the specified listener to receive OnHandLowered events. LoweredHand event occurs when any user has lowered hand.
-
raiseHand
public CompletableFuture<Void> raiseHand()
Send request to raise hand for local user.
-
lowerHand
public CompletableFuture<Void> lowerHand()
Send request to lower hand for local user.
-
lowerAllHands
public CompletableFuture<Void> lowerAllHands()
Send request to lower raised hands for every user on the call.
-
lowerHands
public CompletableFuture<Void> lowerHands(Iterable<CommunicationIdentifier> identifiers)
Information about the event participant
-
-