Interface CameraDeviceConfigurator.IFrameRotationProviderCallback

Enclosing class:
CameraDeviceConfigurator

public static interface CameraDeviceConfigurator.IFrameRotationProviderCallback
Allows to adjust the camera's input orientation
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    onFrameRotation(int inputFrameRotationDegrees)
    Method for correcting the camera input orientation
  • Method Details

    • onFrameRotation

      int onFrameRotation(int inputFrameRotationDegrees)
      Method for correcting the camera input orientation
      Parameters:
      inputFrameRotationDegrees - оriginal camera orientation. Available input values: 0, 90, 180, 270.
      Returns:
      camera orientation angle in degrees. Only 4 values are available: 0, 90, 180, 270. If you return other values there will be a crash.