ControlActions
fun ControlActions(call: Call, modifier: Modifier = Modifier, onCallAction: (CallAction) -> Unit = { DefaultOnCallActionHandler.onCallAction(call, it) }, actions: List<@Composable () -> Unit> = buildDefaultCallControlActions(
call = call,
onCallAction,
))
Represents the set of controls the user can use to change their audio and video device state, or browse other types of settings, leave the call, or implement something custom. You can simply custom the controls button by giving a list of custom call actions to actions.
Parameters
call
The call that contains all the participants state and tracks.
modifier
The modifier to be applied to the call controls.
onCallAction
Handler when the user triggers a Call Control Action.
actions
A list of composable call actions that will be arranged in the layout.