Google is committed to advancing racial equity for Black communities. See how.

TorchState

open class TorchState
kotlin.Any
   ↳ androidx.camera.core.TorchState

The camera flash torch state.

Summary

Constants
static Int

Torch is off.

static Int

Torch is on.

Constants

OFF

static val OFF: Int

Torch is off.

Value: 0

ON

static val ON: Int

Torch is on.

Value: 1