OrientationUtils

Functions

Link copied to clipboard
fun getSurfaceOrientationDegrees(surfaceOrientation: Int): Int

Returns the surface orientation in degrees from Surface orientation (Surface.ROTATION_0, ...).