AVCaptureVideoPreviewLayer.FromSession(AVCaptureSession) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- session
- AVCaptureSession
Returns
- Attributes