MonobjcMonobjc Documented Class Library
Open Method (errorPtr)
NamespacesMonobjc.QTKitQTCaptureDeviceOpen(NSError%)

Attempts to give the application control over the device so that it can be used for capture.

Original signature is '- (BOOL)open:(NSError **)errorPtr'

Available in Mac OS X v10.5 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual bool Open(
	out NSError errorPtr
)
Public Overridable Function Open ( _
	<OutAttribute> ByRef errorPtr As NSError _
) As Boolean
public:
virtual bool Open(
	[OutAttribute] NSError^% errorPtr
)
Parameters
errorPtr (NSError%)
If not equal to NIL, points to an NSError describing why the device could not be opened, or points to NIL if the device was opened successfully.
Return Value
Returns YES if the device was opened successfully; otherwise, NO.
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)