object Screen
Main object for Cordova screen.
enum class Orientation
Screen orientations |
fun addOrientationChangeListener(listener: (Screen.Orientation) -> Unit): Unit
Add listeners for screen orientation change Cordova events. |
|
fun getOrientation(): Screen.Orientation
Get screen orientation. |
|
fun lock(orientation: Screen.Orientation): Unit
Lock screen orientation. |
|
fun unlock(): Unit
Unlock screen orientation. |
fun <T> Any?.createInstance(vararg args: dynamic): T
Helper function for creating JavaScript objects from dynamic constructors. |