Platforms to show: All Mac Windows Linux Cross-Platform
Back to AVCaptureDeviceInputMBS class.
AVCaptureDeviceInputMBS.deviceInputWithDevice(device as AVCaptureDeviceMBS, byref error as NSErrorMBS) as AVCaptureDeviceInputMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
shared method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
device: The device from which to capture input.
Error: If an error occurs during initialization, upon return contains an NSError object describing the problem.
Returns an input initialized to use device.
Some examples using this method:
- /AVFoundation/AVVideoWall
- /AVFoundation/Live Barcode Detection
- /AVFoundation/Live Barcode Detection iOS/Live Barcode Detection iOS
- /AVFoundation/Live Barcode Detection with Vision/Live Barcode Detection with Vision
- /AVFoundation/Live picture processing
- /AVFoundation/Recorder
- /AVFoundation/Screen Recorder
- /AVFoundation/Still Photos
The items on this page are in the following plugins: MBS AVFoundation Plugin.