AVCaptureDeviceInput.FromDevice 方法

定义

重载

FromDevice(AVCaptureDevice)

用于为 创建 的AVCaptureDeviceInputdevice工厂方法。

FromDevice(AVCaptureDevice, NSError)

用于为 创建 的AVCaptureDeviceInputdevice工厂方法。

FromDevice(AVCaptureDevice)

用于为 创建 的AVCaptureDeviceInputdevice工厂方法。

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

参数

返回

适用于

FromDevice(AVCaptureDevice, NSError)

用于为 创建 的AVCaptureDeviceInputdevice工厂方法。

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

参数

error
NSError

返回

属性

适用于