AVCaptureDeviceInput.FromDevice 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
FromDevice(AVCaptureDevice) |
為 建立 AVCaptureDeviceInput 的 |
FromDevice(AVCaptureDevice, NSError) |
為 建立 AVCaptureDeviceInput 的 |
FromDevice(AVCaptureDevice)
為 建立 AVCaptureDeviceInput 的 device
Factory 方法。
public static AVFoundation.AVCaptureDeviceInput FromDevice (AVFoundation.AVCaptureDevice device);
static member FromDevice : AVFoundation.AVCaptureDevice -> AVFoundation.AVCaptureDeviceInput
參數
- device
- AVCaptureDevice
傳回
適用於
FromDevice(AVCaptureDevice, NSError)
為 建立 AVCaptureDeviceInput 的 device
Factory 方法。
[Foundation.Export("deviceInputWithDevice:error:")]
public static AVFoundation.AVCaptureDeviceInput FromDevice (AVFoundation.AVCaptureDevice device, out Foundation.NSError error);
static member FromDevice : AVFoundation.AVCaptureDevice * -> AVFoundation.AVCaptureDeviceInput
參數
- device
- AVCaptureDevice
- error
- NSError
傳回
- 屬性