cameraViewEx / com.priyankvasa.android.cameraviewex / Orientation

Orientation

sealed class Orientation

Types

Landscape

object Landscape : Orientation

LandscapeInverted

object LandscapeInverted : Orientation

Portrait

object Portrait : Orientation

PortraitInverted

object PortraitInverted : Orientation

Unknown

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

object Landscape : Orientation

LandscapeInverted

object LandscapeInverted : Orientation

Portrait

object Portrait : Orientation

PortraitInverted

object PortraitInverted : Orientation

Unknown

object Unknown : Orientation