AudioSessionCategory Enum

Definition

Categories for your audio session.

public enum AudioSessionCategory
type AudioSessionCategory = 
Inheritance
AudioSessionCategory

Fields

AmbientSound 1634558569

Use this category if playing audio is not your application's main use and if your application can be used with the sound off. This allows background music to be mixed with the audio your application produces.

AudioProcessing 1886547811

Use this category when you want to use the hardware accelerated audio support to perform audio conversions.

MediaPlayback 1835361385

Use this if the main use of your application is to play back music.

PlayAndRecord 1886151026

Used to perform both playback and recording at the same time, for example for live chat applications.

RecordAudio 1919247201

Used to record audio. This will prevent background audio and messages from playing back.

SoloAmbientSound 1936682095

This is the default audio session category.

Applies to