<doc>
	<legacy_id></legacy_id>
	<name>mobileSetAllowedOrientations</name>
	<type>command</type>

	<syntax>
		<example>mobileSetAllowedOrientations <i>orientations</i></example>
	</syntax>

	<synonyms>
		<synonym>iphoneSetAllowedOrientations</synonym>
	</synonyms>

	<summary>Set the list of allowed orientations.</summary>

	<examples>
<example>mobileSetAllowedOrientations &quot;portrait,portrait upside down&quot;</example>
<example>mobileSetAllowedOrientations &quot;landscape left&quot;</example>
	</examples>

	<history>
		<introduced version="4.5.3">Added.</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		<changed version="4.6.1">4.6.1</changed>
	</history>

	<objects>
	</objects>

	<platforms>
		<ios/>
		<android/>
	</platforms>

	<classes>
		<mobile/>
	</classes>

	<security>
	</security>


	<classification>
	</classification>

	<references>
		<function tag="mobileDeviceOrientation">mobileDeviceOrientation Function</function>
		<function tag="mobileOrientation">mobileOrientation Function</function>
		<function tag="mobileAllowedOrientations">mobileAllowedOrientations Function</function>
		<command tag="mobileLockOrientation">mobileLockOrientation Command</command>
		<command tag="mobileUnlockOrientation">mobileUnlockOrientation Command</command>
		<message tag="orientationChanged">orientationChanged Message</message>
	</references>

	<description>
	<overview>Use the <b>mobileSetAllowedOrientations</b> command to set the currently allowed orientations.</overview>

		<parameters>
  <parameter>
    <name>orientations</name>
    <description>A comma delimited list consisting of at least one of:</description>
    <options title="">
      <option>
        <item>portrait</item>
        <description/>
      </option>
      <option>
        <item>portrait upside down</item>
        <description/>
      </option>
      <option>
        <item>landscape left</item>
        <description/>
      </option>
      <option>
        <item>landscape right</item>
        <description/>
      </option>
    </options>
  </parameter>		</parameters>

	<value></value>
	<comments>Use the <b>mobileSetAllowedOrientations</b> command to configure which orientations the application supports.<p></p><p>The setting take affect the next time an orientation change is applied. The  interface orientation only changes if the new orientation is among the configured list.</p><p></p><p></p><note>Due to the limitation of the Android operating system, <i>landscape left</i> and <i>portrait upside-down</i> are only supported on Android 2.3 and later.</note></comments>
	</description>
</doc>