Set the display orientation to a fixed value.

app.SetOrientation( orient, callback )

You can unlock it again passing “Default” as orientation.

See Also: GetOrientation

Example - Change Orientation click to expand contents