AudioSessionCategory Enum

Definition

Categories for your audio session.

public enum AudioSessionCategory
type AudioSessionCategory = 
Inheritance
AudioSessionCategory

Fields

Name Value Description
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.

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.

AudioProcessing 1886547811

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

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