Package 

Enum Preview

  • All Implemented Interfaces:
    com.otaliastudios.cameraview.controls.Control , java.io.Serializable , java.lang.Comparable

    
    public enum Preview
     implements Control
                        

    The preview engine to be used.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      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.

      TEXTURE

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

      SURFACE

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

    • Method Summary

      Modifier and Type Method Description
      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