ToggleCameraAction

fun ToggleCameraAction(modifier: Modifier = Modifier, isCameraEnabled: Boolean, enabled: Boolean = true, shape: Shape? = null, enabledColor: Color? = null, disabledColor: Color? = null, enabledIconTint: Color? = null, disabledIconTint: Color? = null, onStyle: StreamFixedSizeButtonStyle? = null, offStyle: StreamFixedSizeButtonStyle? = null, onCallAction: (ToggleCamera) -> Unit)

A call action button represents toggling a camera.

Parameters

modifier

Optional Modifier for this action button.

isCameraEnabled

Represent is camera enabled.

enabled

Whether or not this action button will handle input events.

onCallAction

A CallAction event that will be fired.