Düzenle

Aracılığıyla paylaş


AVCaptureDeviceInput.FromDevice Method

Definition

Overloads

FromDevice(AVCaptureDevice)

Factory method to create an AVCaptureDeviceInput for the device.

FromDevice(AVCaptureDevice, NSError)

Factory method to create an AVCaptureDeviceInput for the device.

FromDevice(AVCaptureDevice)

Factory method to create an AVCaptureDeviceInput for the device.

public static AVFoundation.AVCaptureDeviceInput FromDevice (AVFoundation.AVCaptureDevice device);
static member FromDevice : AVFoundation.AVCaptureDevice -> AVFoundation.AVCaptureDeviceInput

Parameters

Returns

Applies to

FromDevice(AVCaptureDevice, NSError)

Factory method to create an AVCaptureDeviceInput for the device.

[Foundation.Export("deviceInputWithDevice:error:")]
public static AVFoundation.AVCaptureDeviceInput FromDevice (AVFoundation.AVCaptureDevice device, out Foundation.NSError error);
static member FromDevice : AVFoundation.AVCaptureDevice *  -> AVFoundation.AVCaptureDeviceInput

Parameters

error
NSError

Returns

Attributes

Applies to