Package 

Enum Preview

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

    
    public enum Preview
     implements Control
                        

    The preview engine to be used.

    • Field Summary

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

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

      Enum Constants 
      Enum Constant Description
      SURFACE

      Preview engine based on android.view.SurfaceView.Not recommended.

      TEXTURE

      Preview engine based on android.view.TextureView.Stable, but does not support all features (like video snapshots,or picture snapshot while taking videos).

      GL_SURFACE

      Preview engine based on android.opengl.GLSurfaceView.This is the best engine available. Supports video snapshots,supports picture snapshots while taking videos, supportswatermarks and overlays, supports real-time filters.

    • Method Summary

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

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