AVCaptureSession.UsesApplicationAudioSession Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Whether the session should use the application's shared audio session.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool UsesApplicationAudioSession { [Foundation.Export("usesApplicationAudioSession")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setUsesApplicationAudioSession:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.UsesApplicationAudioSession : bool with get, set
Property Value
The default value in iOS 7 and later is true
.
- Attributes
Remarks
If false
, the capture session will create a separate private AVAudioSession for recording, which may create interruptions if the app is doing simultaneous audio playback.