Back

GetRotation

GetRotation returns the current rotation of the device. It will return one of the following numeric values:- 0, 90, 180, 270

app.GetRotation() -> unknown

Example - Example



function OnStart()
{
    rot = app.GetRotation();
    app.ShowPopup( rot );
}
    Copy     Copy All       Run