device.unlockOrientation
unlockOrientation() → {boolean}
unlocks the device screen into the specified orientation.
This method only works for installed Web apps or for Web pages in full-screen mode.
Type | Description |
---|
Type | Description |
---|---|
boolean |
true if the orientation was unsuccessfully unlocked |