FlashLightControl

class FlashLightControl : Control, IFlashLightControl

Use this control to switch the camera flashlight on/off.

Since

1.0.0

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
open override fun createButton(): ControlButtonSettings

Use this method if you want to use embedded button UI.

Link copied to clipboard

Get the current flash light state

Link copied to clipboard
open override fun setState(flashLightState: SDKConstants.FlashLightState)

Switch the camera flashlight on/off accordingly