TorchState

class TorchState
androidx.camera.core.TorchState

The camera flash torch state.

Summary

Constants

static Int

Torch is off.

static Int

Torch is on.

Public constructors

The camera flash torch state.

Constants

OFF

static val OFF: Int

Torch is off.

Value: 0

ON

static val ON: Int

Torch is on.

Value: 1

Public constructors

<init>

TorchState()

The camera flash torch state.