Sets the category identifier for an audio session.
# Metadata
Platforms: mobile OS: ios Introduced: 5.5.3 Security:
# Syntax
iphoneSetAudioCategory category
# Params
- category : The audio category to use.
# Examples
iphoneSetAudioCategory "ambient"
iphoneSetAudioCategory "play and record"
# Description
Use the iphoneSetAudioCategory command to set the audio category identifier for the audio session.
The iphoneSetAudioCatagory 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.
# Tags
# See
- **command:** play, play file, mobilePlaySoundOnChannel