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

	<syntax>
		<example>iphoneSetAudioCategory <i>category</i></example>
	</syntax>

	<synonyms>
	</synonyms>

	<summary>Sets the category identifier for an audio session.</summary>

	<examples>
<example>iphoneSetAudioCategory &quot;ambient&quot;</example>
<example>iphoneSetAudioCategory &quot;play and record&quot;</example>
	</examples>

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

	<objects>
	</objects>

	<platforms>
		<ios/>
	</platforms>

	<classes>
		<mobile/>
	</classes>

	<security>
	</security>


	<classification>
	</classification>

	<references>
	</references>

	<description>
	<overview>Use the <b>iphoneSetAudioCategory</b> command to set the audio category identifier for the audio session.</overview>

		<parameters>
  <parameter>
    <name>category</name>
    <description>The audio category to use. One of:</description>
    <options title="">
      <option>
        <item>ambient</item>
        <description>Audio from other applications can mix into the sound of the running application. Audio is silenced by locking the screen or setting the Ring/Silent switch to silent.</description>
      </option>
      <option>
        <item>solo ambient</item>
        <description>Audio from other applications is silenced when the application is running. Audio is silenced by locking the screen or setting the Ring/Silent switch to silent. This is the default mode.</description>
      </option>
      <option>
        <item>playback</item>
        <description>Audio from other applications is silenced when the application is running. Audio is not silenced by locking the screen or setting the Ring/Silent switch to silent.</description>
      </option>
      <option>
        <item>record</item>
        <description>Silences all playback and allows sound to be recorded, even if the screen is locked.</description>
      </option>
      <option>
        <item>play and record</item>
        <description>Audio from other applications is silenced when the application is running. Audio is not silenced by locking the screen or setting the Ring/Silent switch to silent. Use this feature for recording and playing sound, such as in VOIP applications.</description>
      </option>
      <option>
        <item>audio processing</item>
        <description>Audio playback and recording is disabled from all applications.</description>
      </option>
    </options>
  </parameter>
  </parameters>
	<value></value>
	<comments>The <b>iphoneSetAudioCatagory</b> command allows the current audio session category to be set and changed while the application is running. This command should be used if the application sound output is to be muted, played on its own or mixed with the sound from other applications.
</comments>
	</description>
</doc>