Edit

Share via


AVCaptureVideoPreviewLayer.SetSessionWithNoConnection Method

Definition

Attaches this layer to the session but without initializing the Connection.

[Foundation.Export("setSessionWithNoConnection:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetSessionWithNoConnection (AVFoundation.AVCaptureSession session);
[Foundation.Export("setSessionWithNoConnection:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 7, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetSessionWithNoConnection (AVFoundation.AVCaptureSession session);
abstract member SetSessionWithNoConnection : AVFoundation.AVCaptureSession -> unit
override this.SetSessionWithNoConnection : AVFoundation.AVCaptureSession -> unit

Parameters

Attributes

Applies to