Back

GetRotation

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

 rot = app.GetRotation();

See also GetOrientation


Example

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