Partilhar via


RaiseHandCallFeature Class

  • java.lang.Object
    • CallFeature
      • com.azure.android.communication.calling.RaiseHandCallFeature

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<RaisedHand> 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:

listener

addOnHandRaisedListener

public void addOnHandRaisedListener(RaisedHandListener listener)

Adds the specified listener to receive OnHandRaised events. RaisedHand event occurs when any user has raised hand.

Parameters:

listener

getRaisedHands

public List getRaisedHands()

Get all active raised hands. Sorted by order of raise hand events.

lowerAllHands

public CompletableFuture lowerAllHands()

Send request to lower raised hands for every user on the call.

lowerHand

public CompletableFuture lowerHand()

Send request to lower hand for local user.

lowerHands

public CompletableFuture lowerHands(Iterable identifiers)

Information about the event participant

Parameters:

identifiers

raiseHand

public CompletableFuture raiseHand()

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:

listener

removeOnHandRaisedListener

public void removeOnHandRaisedListener(RaisedHandListener listener)

Removes the specified listener to receive OnHandRaised events. RaisedHand event occurs when any user has raised hand.

Parameters:

listener

Applies to