TorchState

@RequiresApi(value = 21)
class TorchState


The camera flash torch state.

Summary

Constants

const Int
OFF = 0

Torch is off.

const Int
ON = 1

Torch is on.

Constants

OFF

Added in 1.0.0
const val OFF = 0: Int

Torch is off.

ON

Added in 1.0.0
const val ON = 1: Int

Torch is on.