MonobjcMonobjc Documented Class Library
DeviceInputWithDevice Method (device)
NamespacesMonobjc.QTKitQTCaptureDeviceInputDeviceInputWithDevice(QTCaptureDevice)

Returns an autoreleased instance of QTCaptureDeviceInput associated with the given device.

Original signature is '+ (id)deviceInputWithDevice:(QTCaptureDevice *)device'

Available in 5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static Id DeviceInputWithDevice(
	QTCaptureDevice device
)
Public Shared Function DeviceInputWithDevice ( _
	device As QTCaptureDevice _
) As Id
public:
static Id^ DeviceInputWithDevice(
	QTCaptureDevice^ device
)
Parameters
device (QTCaptureDevice)
A QTCaptureDevice for the device to be associated with the receiver. The device must have been previously opened using the open: method or this method will throw an NSInvalidArgumentException.
Return Value
A QTCaptureDeviceInput instance associated with the device.
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.QTKit (Module: Monobjc.QTKit)