fun parse(orientation: Int): Orientation
Platform and version requirements: JVM
Parse sensor orientation read from android.view.OrientationEventListener to one of Portrait, PortraitInverted, Landscape, or LandscapeInverted
orientation
- available from android.view.OrientationEventListener.onOrientationChanged