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

	<syntax>
		<example>mobileCameraFeatures( [ <i>camera</i> ] )</example>
	</syntax>

	<synonyms>
		<synonym>iphoneCameraFeatures</synonym>
	</synonyms>

	<summary>Returns the capabilities of the devices camera(s)</summary>

	<examples>
<example><p>put mobileCameraFeatures(tCamera) into tFeatures</p><p></p></example>
<example>put mobileCameraFeatures("rear") into tFeatures</example>
	</examples>

	<history>
		<introduced version="4.6">Added</introduced>
		<deprecated version=""></deprecated>
		<removed version=""></removed>
		<changed version="4.6.1">Android support added</changed>
		<experimental version=""></experimental>
		<nonexperimental version=""></nonexperimental>
	</history>

	<objects>
	</objects>

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

	<classes>
		<mobile/>
	</classes>

	<security>
	</security>


	<classification>
	</classification>

	<references>
		<command tag="mobilePickPhoto">mobilePickPhoto Command</command>
		<command tag="mobileExportImageToAlbum">iphoneExportImageToAlbum Command</command>
	</references>

	<description>
	<overview>Use <b>mobileCameraFeatures</b> to find out what camera capabilities the device has.</overview>

		<parameters>
  <parameter>
    <name>camera</name>
    <description>A string with one of the following:</description>
    <options title="">
      <option>
        <item>rear</item>
        <description>return only capabilities of the rear camera</description>
      </option>
      <option>
        <item>front</item>
        <description>return only capabilities of the front camera</description>
      </option>
      <option>
        <item>empty</item>
        <description>return capabilities of all cameras</description>
      </option>
    </options>
  </parameter>		</parameters>

	<value>The <b>mobileCameraFeatures</b> function returns a comma-delimited list of one or more of the following:<p></p><p>For a specific <i>camera </i>("front" | "rear")</p><p>* photo - the camera is capable of taking photos</p><p>* video - the camera is capable of recording videos</p><p>* flash - the camera has a flash that can be turned on or off</p><p>* empty - the device does not have that type of camera</p><p></p><p>If no <i>camera </i>parameter is specified:</p><p>* front photo - the front camera can take photos</p><p>* front video - the front camera can record video</p><p>* front flash - the front camera has a flash</p><p>* rear photo - the rear camera can take photos</p><p>* rear video - the rear camera can record video</p><p>* rear flash - the rear camera has a flash</p><p>* empty - the device has no cameras</p></value>
	<comments>At this time, Android can only detect whether there are front and/or back cameras and whether they can take photos.</comments>
	</description>
</doc>