sealed class Orientation
Platform and version requirements: JVM
Landscape |
object Landscape : Orientation |
LandscapeInverted |
object LandscapeInverted : Orientation |
Portrait |
object Portrait : Orientation |
PortraitInverted |
object PortraitInverted : Orientation |
Unknown |
object Unknown : Orientation |
fun parse(orientation: Int): Orientation
Parse sensor orientation read from android.view.OrientationEventListener to one of Portrait, PortraitInverted, Landscape, or LandscapeInverted |
Landscape |
object Landscape : Orientation |
LandscapeInverted |
object LandscapeInverted : Orientation |
Portrait |
object Portrait : Orientation |
PortraitInverted |
object PortraitInverted : Orientation |
Unknown |
object Unknown : Orientation |