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
Returns an input initialized to use a specified device.

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:

The items on this page are in the following plugins: MBS AVFoundation Plugin.


The biggest plugin in space...