cameraViewEx / com.priyankvasa.android.cameraviewex / Orientation

Orientation

sealed class Orientation

Platform and version requirements: JVM

Types

Landscape
(JVM)

object Landscape : Orientation

LandscapeInverted
(JVM)

object LandscapeInverted : Orientation

Portrait
(JVM)

object Portrait : Orientation

PortraitInverted
(JVM)

object PortraitInverted : Orientation

Unknown
(JVM)

object Unknown : Orientation

Companion Object Functions

parse

fun parse(orientation: Int): Orientation

Parse sensor orientation read from android.view.OrientationEventListener to one of Portrait, PortraitInverted, Landscape, or LandscapeInverted

Inheritors

Landscape
(JVM)

object Landscape : Orientation

LandscapeInverted
(JVM)

object LandscapeInverted : Orientation

Portrait
(JVM)

object Portrait : Orientation

PortraitInverted
(JVM)

object PortraitInverted : Orientation

Unknown
(JVM)

object Unknown : Orientation