IncomingCallControlsContentParams

data class IncomingCallControlsContentParams(val isCameraEnabled: Boolean, val isMicrophoneEnabled: Boolean? = null, val isVideoCall: Boolean = true, val onCallAction: (CallAction) -> Unit = {})

Parameters for VideoComponentFactory.IncomingCallControlsContent.

Parameters

isCameraEnabled

Whether the camera is enabled or not.

isMicrophoneEnabled

Whether the microphone is enabled or not. When null, the microphone toggle is not shown.

isVideoCall

Represents whether the call is a video call or not.

onCallAction

Handler used when the user interacts with Call UI.

Constructors

Link copied to clipboard
constructor(isCameraEnabled: Boolean, isMicrophoneEnabled: Boolean? = null, isVideoCall: Boolean = true, onCallAction: (CallAction) -> Unit = {})

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard