AVCaptureDeviceInput.FromDevice 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
FromDevice(AVCaptureDevice) |
用于为 创建 的AVCaptureDeviceInput |
FromDevice(AVCaptureDevice, NSError) |
用于为 创建 的AVCaptureDeviceInput |
FromDevice(AVCaptureDevice)
用于为 创建 的AVCaptureDeviceInputdevice
工厂方法。
public static AVFoundation.AVCaptureDeviceInput FromDevice (AVFoundation.AVCaptureDevice device);
static member FromDevice : AVFoundation.AVCaptureDevice -> AVFoundation.AVCaptureDeviceInput
参数
- device
- AVCaptureDevice
返回
适用于
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
参数
- device
- AVCaptureDevice
- error
- NSError
返回
- 属性