<doc>
	<legacy_id></legacy_id>
	<name>mobileSensorAvailable</name>
	<type>function</type>

	<syntax>
		<example>mobileSensorAvailable(<i>sensor)</i></example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Returns the availability of the given sensor.</summary>

	<examples>
<example>get mobileSensorAvailable(&quot;location&quot;)</example>
<example>put mobileSensorAvailable(&quot;heading&quot;) into tHeadingSensorAvailable</example>
	</examples>

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

	<objects>
	</objects>

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

	<classes>
		<mobile/>
	</classes>

	<security>
	</security>


	<classification>
		<category>sensors</category>
	</classification>

	<references>
		<function tag="mobileSensorReading">mobileSensorReading Function</function>
		<command tag="mobileStartTrackingSensor">mobileStartTrackingSensor Command</command>
		<command tag="mobileStopTrackingSensor">mobileStopTrackingSensor Command</command>
	</references>

	<description>
	<overview>Use the <b>mobileSensorAvailable</b> function to find out if a sensor is available.</overview>

		<parameters>
  <parameter>
    <name>sensor</name>
    <description>The name of the sensor</description>
    <options title="">
      <option>
        <item>location</item>
        <description>the location sensor of the device</description>
      </option>
      <option>
        <item>heading</item>
        <description>the heading sensor of the device</description>
      </option>
      <option>
        <item>acceleration</item>
        <description>the acceleration sensor of the device</description>
      </option>
      <option>
        <item>rotation rate</item>
        <description>the rotation sensor of the device</description>
      </option>
    </options>
  </parameter>		</parameters>

	<value>Returns <i>true</i> is the sensor is available, <i>false</i> otherwise.</value>
	<comments>The <b>mobileSensorAvailable</b> function returns the availability of the named sensor.</comments>
	</description>
</doc>