共用方式為


AVCaptureSession.UsesApplicationAudioSession 屬性

定義

會話是否應該使用應用程式的共用音訊會話。

[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

屬性值

iOS 7 和更新版本中的預設值為 true

屬性

備註

如果 false 為 ,則擷取會話會建立個別的私人 AVAudioSession 錄製,如果應用程式正在同時播放音訊,可能會造成中斷。

適用於