共用方式為


AVCaptureDeviceInput.FromDevice 方法

定義

多載

FromDevice(AVCaptureDevice)

為 建立 AVCaptureDeviceInputdevice Factory 方法。

FromDevice(AVCaptureDevice, NSError)

為 建立 AVCaptureDeviceInputdevice Factory 方法。

FromDevice(AVCaptureDevice)

為 建立 AVCaptureDeviceInputdevice Factory 方法。

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

參數

傳回

適用於

FromDevice(AVCaptureDevice, NSError)

為 建立 AVCaptureDeviceInputdevice Factory 方法。

[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

傳回

屬性

適用於