LimitOrientationsHelperAndroid

class LimitOrientationsHelperAndroid(activity: Activity) : LimitOrientationsHelper

See also interface LimitOrientationsHelper.

The Android implementation (currently the only one) effectively ends up doing Activity.setRequestedOrientation

Constructors

LimitOrientationsHelperAndroid
Link copied to clipboard
fun LimitOrientationsHelperAndroid(activity: Activity)

Types

GameSettingsPreview
Link copied to clipboard
private class GameSettingsPreview(allowAndroidPortrait: Boolean)

Functions

allowPortrait
Link copied to clipboard
open override fun allowPortrait(allow: Boolean)
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
limitOrientations
Link copied to clipboard
open override fun limitOrientations(newOrientation: Int)
toString
Link copied to clipboard
open fun toString(): String

Properties

activity
Link copied to clipboard
private val activity: Activity

Sources

androidJvm source
Link copied to clipboard