Name
Window.Orientation -- set/get window orientation (V2.0)
Platforms
Android

Function
Set or get the current window orientation. This can be one of the following special values:

Device
Use the current device orientation. This is the default.

Landscape
Use landscape orientation.

Portrait
Use portrait orientation.

You can also set up a notification on this attribute to learn when the user rotates the device.

Type
String (see above for possible values)

Applicability
ISGN


Show TOC