object Screen
Main object for Cordova screen.
(js)
Orientation |
Screen orientations enum class Orientation |
(js)
addOrientationChangeListener |
Add listeners for screen orientation change Cordova events. fun addOrientationChangeListener(listener: (Orientation) -> Unit): Unit |
(js)
getOrientation |
Get screen orientation. fun getOrientation(): Orientation |
(js)
lock |
Lock screen orientation. fun lock(orientation: Orientation): Unit |
(js)
unlock |
Unlock screen orientation. fun unlock(): Unit |