setAllowed


Purpose

Enables to set the allowed screen orientation settings to the ScreenOrientation object.

Signature

launchbox.ScreenOrientation.setAllowed( parameters )

Returns

This method does not return anything.

Parameters

Name Description Type Use
parameters Configuration passed to the function call. object required

The setAllowed method's parameters object may look like in the following example.

{
  "pp":  true,
  "pd":  false,
  "ll":  false,
  "lr":  false		
}

Note

Please refer the ScreenOrientation article for a detailed list of orientations supported by each of the device platforms.

Related topics

ScreenOrientation
Legal notice | Copyright © 2015 and Confidential to Pegasystems Inc. All rights reserved. | Feedback
Advanced...