AudioSessionMode Enum

Definition

The fine detail over the audio mode, an extension to the AudioSession Category

public enum AudioSessionMode
type AudioSessionMode = 
Inheritance
AudioSessionMode

Fields

Name Value Description
Default 1684434036

The default value uses the same settings that existed in the pre iOS 5.0 days. If there is more than one microphone on the device, the primary one is used.

GameChat 1735222132

Set by GameKit, users should not set this directly. Use VoiceChat instead.

Measurement 1836281204

Used when you want to measure the audio, so no gains are applied to the data. This is used when setting the Category property to PlayAndRecord or RecordAudio values.

VoiceChat 1986225012

Used when you want to perform voice chats over a network connection. The audio stack is configured for voice recording, the default system microphone is used and sets the OverrideCategoryEnableBluetoothInput to true.

VideoRecording 1987208036

Configures the audio for video recording, and uses the microphone closer to the camera as its input.

Remarks

This property is used to do the fine-level control over the audio session. The major component is determined by the Category property and this is used to tune whether the session behaves in the default mode (what every app got in the pre iOS 5.0 days), Voice Chat, Video Recording or is being used in Measurement mode (where you get raw data, without any gain changes for Audio).

Applies to