Flash

class Flash(characteristics: CameraCharacteristics, cameraSettings: CameraSettings)(source)

Constructors

Link copied to clipboard
constructor(characteristics: CameraCharacteristics, cameraSettings: CameraSettings)

Properties

Link copied to clipboard

Whether the the current camera has a flash device.

Link copied to clipboard

Enables or disables flash.

Functions

Link copied to clipboard
suspend fun setIsEnable(isEnable: Boolean)

Enable or disable the flash.