RaiseHandState


@ExperimentalAppActions
interface RaiseHandState


Provides this application with the ability to notify remote surfaces (automotive, watch, etc..) when Participants in the call have raised or lowered their hands.

Summary

Public functions

suspend Unit

Notify the remote surfaces of an update to the Participants that have their hands raised at the current time.

Public functions

updateRaisedHands

Added in 1.0.0-beta01
suspend fun updateRaisedHands(raisedHands: List<Participant>): Unit

Notify the remote surfaces of an update to the Participants that have their hands raised at the current time. Any Participant that is in the call and is in raisedHands is considered to have their hand raised and any Participant that is in the call that is not in raisedHands is considered to have their hand lowered. The order of the Participants in raisedHands MUST be in the order that the hands were raised, earliest raised hand first.

Parameters
raisedHands: List<Participant>

The updated List of Participants that have their hands raised, ordered as earliest raised hand to newest raised hand.