Düzenle

Aracılığıyla paylaş


AVCaptureSession.UsesApplicationAudioSession Property

Definition

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.

Applies to