Instance Property

category

The current audio session category.

Declaration

@property(readonly) AVAudioSessionCategory category;

Discussion

An audio session category defines a set of audio behaviors for your app. The supported category values are described in Audio Session Categories.

The default category assigned to an audio session is AVAudioSessionCategorySoloAmbient.

See Also

Configuring the Audio Session

- setCategory:error:

Sets the current audio session category.

- setCategory:withOptions:error:

Sets the audio session category with the specified options.

- setCategory:mode:options:error:

Sets the audio session category, mode, and desired options.

availableCategories

The audio session categories available on the current device.

categoryOptions

The mask of options associated with the current audio session category.

mode

The current audio session mode.

- setMode:error:

Sets the audio session mode.

availableModes

The audio session modes available on the device.