getSurfaceRotationDegrees

@IntRange(from = 0, to = 359)
fun getSurfaceRotationDegrees(surfaceOrientation: Int): Int(source)

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