Apple Developer Connection
Member Login Log In | Not a Member? Contact ADC

Next Page > Hide TOC

QTCaptureLayer Reference

Inherits from
Framework
Library/Frameworks/QTKit.framework
Availability
Available in QuickTime 7.2.1 and later.
Declared in
QTCaptureLayer.h

Overview

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. Note that this class requires rendering using visual contexts.

Tasks

Creating Capture Layers

Class Methods

layerWithSession:

Creates an autoreleased QTCaptureLayer associated with the specified QTCaptureSession object.

+ (id)layerWithSession:(QTCaptureSession *)session

Discussion

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

Availability
Declared In
QTCaptureLayer.h

Instance Methods

initWithSession:

Creates a QTCaptureLayer associated with the specified QTCaptureSession object.

- (id)initWithSession:(QTCaptureSession *)session

Discussion

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.

Availability
Declared In
QTCaptureLayer.h

session

Returns the capture session associated with a QTCaptureLayer object.

- (QTCaptureSession *)session

Availability
Declared In
QTCaptureLayer.h

setSession:

Sets or resets the capture session associated with a QTCaptureLayer object.

- (void)setSession:(QTCaptureSession *)session

Availability
Declared In
QTCaptureLayer.h

Next Page > Hide TOC


Last updated: 2007-10-31




Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.
Get information on Apple products.
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Copyright © 2007 Apple Inc.
All rights reserved. | Terms of use | Privacy Notice