| Inherits from | |
| Conforms to | |
| Framework | /System/Library/Frameworks/QTKit.framework |
| Availability | Available in QuickTime 7.2.1 and later. |
| Declared in | QTCaptureLayer.h |
This class provides a layer that displays video frames currently being captured from a device attached to the computer, and is intended to provide support for Core Animation, that is, drawing the contents of a capture session into a layer. QTCaptureLayer renders a capture session within a layer hierarchy. Note that this class requires rendering using visual contexts.
Creates an autoreleased QTCaptureLayer associated with the specified QTCaptureSession object.
+ (id)layerWithSession:(QTCaptureSession *)session
The session with which to create an autoreleased QuickTime capture layer object.
By default, the movie starts playing immediately at rate 1.0 from the beginning of the movie. These default characteristics can be modified by setting layer properties or movie properties
QTCaptureLayer.hCreates a QTCaptureLayer associated with the specified QTCaptureSession object.
- (id)initWithSession:(QTCaptureSession *)session
The session with which to initialize the QuickTime capture layer object.
By default, the movie starts playing immediately at rate 1.0 from the beginning of the movie. These default characteristics can be modified by setting layer properties or movie properties.
QTCaptureLayer.hReturns the capture session associated with a QTCaptureLayer object.
- (QTCaptureSession *)session
The session returned by the QuickTime capture layer object.
QTCaptureLayer.hSets or resets the capture session associated with a QTCaptureLayer object.
- (void)setSession:(QTCaptureSession *)session
The session set or reset by the QuickTime capture layer object.
QTCaptureLayer.h
© 2009 Apple Inc. All Rights Reserved. (Last updated: 2009-04-06)