AVCaptureDeviceInput.FromDevice Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
FromDevice(AVCaptureDevice) |
Factory method to create an AVCaptureDeviceInput for the |
FromDevice(AVCaptureDevice, NSError) |
Factory method to create an AVCaptureDeviceInput for the |
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
- device
- AVCaptureDevice
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
- device
- AVCaptureDevice
- error
- NSError
Returns
- Attributes