TorchState

@RequiresApi(value = 21)
public class TorchState


The camera flash torch state.

Summary

Constants

static final int
OFF = 0

Torch is off.

static final int
ON = 1

Torch is on.

Constants

OFF

Added in 1.0.0
public static final int OFF = 0

Torch is off.

ON

Added in 1.0.0
public static final int ON = 1

Torch is on.