共用方式為


AVCaptureVideoPreviewLayer.CreateWithNoConnection(AVCaptureSession) 方法

定義

使用提供的擷取會話建立並傳回新的預覽層。

[Foundation.Export("layerWithSessionWithNoConnection:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static AVFoundation.AVCaptureVideoPreviewLayer CreateWithNoConnection (AVFoundation.AVCaptureSession session);
static member CreateWithNoConnection : AVFoundation.AVCaptureSession -> AVFoundation.AVCaptureVideoPreviewLayer

參數

傳回

屬性

適用於