FlashMode

Created by svennahler on 16.02.17.

enum FlashMode

Constructors

FlashMode
Link copied to clipboard
open fun FlashMode(value: String)

Entries

ON
Link copied to clipboard

Flash will always be fired during snapshot. The flash may also be fired during preview or auto-focus depending on the driver.

OFF
Link copied to clipboard

Flash will not be fired.

AUTO
Link copied to clipboard

Flash will be fired automatically when required. The flash may be fired during preview, auto-focus, or snapshot depending on the driver.

TORCH
Link copied to clipboard

Constant emission of light during preview, auto-focus and snapshot. This can also be used for video recording.

RED_EYE
Link copied to clipboard

Flash will be fired in red-eye reduction mode.

Functions

get
Link copied to clipboard
open fun get(string: String): FlashMode

Properties

FALLBACK_LIST
Link copied to clipboard
val FALLBACK_LIST: Array<String>
value
Link copied to clipboard
val value: String