enum class VideoRotation
VideoRotation describes the rotation of the video frame buffer in degrees clockwise from intended viewing horizon.
e.g. If you were recording camera capture upside down relative to the orientation of the sensor, this value would be VideoRotation.Rotation180.
Rotation0 |
Not rotated |
Rotation90 |
Rotated 90 degrees clockwise |
Rotation180 |
Rotated 180 degrees clockwise |
Rotation270 |
Rotated 270 degrees clockwise |
degrees |
val degrees: Int |
from |
fun from(intValue: Int): VideoRotation? |