AVCaptureVideoPreviewLayer.FromSession(AVCaptureSession) Method

Definition

Creates and returns a new preview layer with the supplied capture session.

[Foundation.Export("layerWithSession:")]
public static AVFoundation.AVCaptureVideoPreviewLayer FromSession (AVFoundation.AVCaptureSession session);
static member FromSession : AVFoundation.AVCaptureSession -> AVFoundation.AVCaptureVideoPreviewLayer

Parameters

Returns

Attributes

Applies to