Package 

Class CameraPreviewConfig

    • Method Summary

      Modifier and Type Method Description
      CameraPreviewConfig setRotation(int rotation) Sets the clockwise rotation angle in degrees relative to theorientation of the camera.
      int getRotation()
      CameraPreviewConfig setMirror(int mirror) Sets the mirror mode of the camera.
      int getMirror()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • setRotation

         CameraPreviewConfig setRotation(int rotation)

        Sets the clockwise rotation angle in degrees relative to theorientation of the camera. This affects the pictures returned fromImageCapture and mp4 returned from VideoCapture.

        Parameters:
        rotation - The rotation angle in degrees relative to theorientation of the camera.
      • setMirror

         CameraPreviewConfig setMirror(int mirror)

        Sets the mirror mode of the camera. This affects the pictures returned fromImageCapture and mp4 returned from VideoCapture.