Returns the QuickTime visual context used to preview the video for the given connection.
Original signature is '- (QTVisualContextRef)visualContextForConnection:(QTCaptureConnection *)connection'
Available in 5 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public virtual IntPtr VisualContextForConnection( QTCaptureConnection connection )
Public Overridable Function VisualContextForConnection ( _ connection As QTCaptureConnection _ ) As IntPtr
public: virtual IntPtr VisualContextForConnection( QTCaptureConnection^ connection )
Parameters
- connection (QTCaptureConnection)
- The connection previewed by the returned visual context.
Return Value
A QTVisualContextRef that provides access to a video preview for the given connection.
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)