編集

次の方法で共有


AVCaptureSession.AutomaticallyConfiguresApplicationAudioSession Property

Definition

Whether the AVCaptureSession uses the app's shared audio session.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool AutomaticallyConfiguresApplicationAudioSession { [Foundation.Export("automaticallyConfiguresApplicationAudioSession")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setAutomaticallyConfiguresApplicationAudioSession:")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.AutomaticallyConfiguresApplicationAudioSession : bool with get, set

Property Value

The default value in iOS 7 and later is true.

Attributes

Remarks

If this value is true, simultaneous audio playback and capture is possible.

Applies to