RaiseHandCallFeature Class
- java.
lang. Object - CallFeature
- com.
azure. android. communication. calling. RaiseHandCallFeature
- com.
public class RaiseHandCallFeature extends CallFeature
Call Feature for managing raise hand states for participants on the call.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
addOnHandLoweredListener(LoweredHandListener listener)
Adds the specified listener to receive OnHandLowered events. LoweredHand event occurs when any user has lowered hand. |
void |
addOnHandRaisedListener(RaisedHandListener listener)
Adds the specified listener to receive OnHandRaised events. RaisedHand event occurs when any user has raised hand. |
List<Raised |
getRaisedHands()
Get all active raised hands. Sorted by order of raise hand events. |
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<com.azure.android.communication.common.CommunicationIdentifier> identifiers)
Information about the event participant |
CompletableFuture<Void> |
raiseHand()
Send request to raise hand for local user. |
void |
removeOnHandLoweredListener(LoweredHandListener listener)
Removes the specified listener to receive OnHandLowered events. LoweredHand event occurs when any user has lowered hand. |
void |
removeOnHandRaisedListener(RaisedHandListener listener)
Removes the specified listener to receive OnHandRaised events. RaisedHand event occurs when any user has raised hand. |
Inherited Members
Method Details
addOnHandLoweredListener
public void addOnHandLoweredListener(LoweredHandListener listener)
Adds the specified listener to receive OnHandLowered events. LoweredHand event occurs when any user has lowered hand.
Parameters:
addOnHandRaisedListener
public void addOnHandRaisedListener(RaisedHandListener listener)
Adds the specified listener to receive OnHandRaised events. RaisedHand event occurs when any user has raised hand.
Parameters:
getRaisedHands
public List
Get all active raised hands. Sorted by order of raise hand events.
lowerAllHands
public CompletableFuture
Send request to lower raised hands for every user on the call.
lowerHand
public CompletableFuture
Send request to lower hand for local user.
lowerHands
public CompletableFuture
Information about the event participant
Parameters:
raiseHand
public CompletableFuture
Send request to raise hand for local user.
removeOnHandLoweredListener
public void removeOnHandLoweredListener(LoweredHandListener listener)
Removes the specified listener to receive OnHandLowered events. LoweredHand event occurs when any user has lowered hand.
Parameters:
removeOnHandRaisedListener
public void removeOnHandRaisedListener(RaisedHandListener listener)
Removes the specified listener to receive OnHandRaised events. RaisedHand event occurs when any user has raised hand.
Parameters: