Class ImageOrientation

java.lang.Object
com.banuba.sdk.offscreen.ImageOrientation

@Deprecated public final class ImageOrientation extends Object
Deprecated.
The com.banuba.sdk.offscreen package is deprecated. Use PlayerAPI instead.
  • Method Details

    • getForCamera

      @NonNull public static ImageOrientation getForCamera(int sensorOrientation, int surfaceRotation, int deviceOrientationAngle)
      Deprecated.
    • getForCamera

      @NonNull public static ImageOrientation getForCamera(int imageOrientationAngle, int deviceOrientationAngle, int surfaceRotationIndex, boolean isRequireMirroring)
      Deprecated.
    • getForBufferFrame

      public static ImageOrientation getForBufferFrame(int frameRotationAngle)
      Deprecated.
    • getDefaultDrawMatrix

      @NonNull public float[] getDefaultDrawMatrix(int displaySurfaceRotation)
      Deprecated.
    • getRotationIndex

      public int getRotationIndex()
      Deprecated.
    • getRotationAngle

      public int getRotationAngle()
      Deprecated.
    • getImageOrientationAngle

      public int getImageOrientationAngle()
      Deprecated.
    • isRequireMirroring

      public boolean isRequireMirroring()
      Deprecated.
    • getAccelerometerDeviceOrientation

      public int getAccelerometerDeviceOrientation()
      Deprecated.
    • getParams

      @NonNull public Map<String,String> getParams()
      Deprecated.