Edit

Share via


AudioSession.Mode Property

Definition

Configuration modes for Audio, it provides finer control over the Category property.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "AudioSession[Get|Set]Property are deprecated in iOS7")]
public static AudioToolbox.AudioSessionMode Mode { get; set; }
member this.Mode : AudioToolbox.AudioSessionMode with get, set

Property Value

Attributes

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