Package 

Enum Flash

  • All Implemented Interfaces:
    com.otaliastudios.cameraview.controls.Control

    
    public enum Flash
     implements Control
                        

    Flash value indicates the flash mode to be used.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      final static Flash DEFAULT
    • Constructor Summary

      Constructors 
      Constructor Description
      Flash(int value)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      OFF

      Flash is always off.

      ON

      Flash will be on when capturing.This is not guaranteed to be supported.

      AUTO

      Flash mode is chosen by the camera.This is not guaranteed to be supported.

      TORCH

      Flash is always on, working as a torch.This is not guaranteed to be supported.

    • Method Summary

      Modifier and Type Method Description
      int value()
      static Flash fromValue(int value)
      static Array<Flash> values()
      static Flash valueOf(String name)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait