Google 致力于为黑人社区推动种族平等。查看具体举措

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