Returns an instance of QTCaptureDeviceInput associated with the given device.
Original signature is '- (id)initWithDevice:(QTCaptureDevice *)device'
Available in 5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual Id InitWithDevice( QTCaptureDevice device )
Public Overridable Function InitWithDevice ( _ device As QTCaptureDevice _ ) As Id
public: virtual Id^ InitWithDevice( QTCaptureDevice^ device )
Parameters
- device (QTCaptureDevice)
- A QTCaptureDevice object for the device to be associated with the receiver. The device must have been previously opened using the open: method, or else 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)