ToggleAction

fun ToggleAction(    modifier: Modifier = Modifier,     isActionActive: Boolean,     iconOnOff: Pair<ImageVector, ImageVector>,     enabled: Boolean = true,     shape: Shape? = null,     enabledColor: Color? = null,     disabledColor: Color? = null,     enabledIconTint: Color? = null,     disabledIconTint: Color? = null,     progress: Boolean = false,     onStyle: StreamFixedSizeButtonStyle? = null,     offStyle: StreamFixedSizeButtonStyle? = null,     onAction: () -> Unit)

A call action button represents toggling a microphone.

Parameters

modifier

Optional Modifier for this action button.

isMicrophoneEnabled

Represent is camera enabled.

enabled

Whether or not this action button will handle input events.

onCallAction

A CallAction event that will be fired.