-
public final class ToggleCameraActionKt
-
-
Method Summary
Modifier and Type Method Description final static UnitToggleCameraAction(Modifier modifier, Boolean isCameraEnabled, Boolean enabled, Shape shape, Color enabledColor, Color disabledColor, Color enabledIconTint, Color disabledIconTint, StreamFixedSizeButtonStyle onStyle, StreamFixedSizeButtonStyle offStyle, Function1<ToggleCamera, Unit> onCallAction)A call action button represents toggling a camera. -
-
Method Detail
-
ToggleCameraAction
@Composable() final static Unit ToggleCameraAction(Modifier modifier, Boolean isCameraEnabled, Boolean enabled, Shape shape, Color enabledColor, Color disabledColor, Color enabledIconTint, Color disabledIconTint, StreamFixedSizeButtonStyle onStyle, StreamFixedSizeButtonStyle offStyle, Function1<ToggleCamera, Unit> onCallAction)
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.
-
-
-
-