×
Namespaces

Variants
Actions

Archived:V2 Camera observer not supported in S60 3rd Edition (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

MCameraObserver2 mixin class for Camera API clients is not supported in S60 3rd Edition.

Article Metadata
Compatibility
Platform(s): S60 3rd Edition
S60 3rd Edition, FP1
Symbian
S60 3rd Edition FP1
S60 3rd Edition (initial release)
Article
Created: User:Technical writer 1 (21 Aug 2007)
Last edited: hamishwillee (21 Jun 2012)

Description

Onboard Camera API on S60 3rd Edition provides two versions of the camera observer interface class, MCameraObserver and MCameraObserver2.

SDK documentation on the Onboard Camera API states that the new MCameraObserver2 class should be preferred over MCameraObserver. However, MCameraObserver2 is not yet supported on S60 platform.

How to reproduce

Trying to construct a new CCamera instance:

static IMPORT_C CCamera *NewL(MCameraObserver2 &aObserver, TInt aCameraIndex, TInt aPriority);

This will not cause a leave, but the returned pointer will be NULL.

Solution

Use the MCameraObserver class with Onboard Camera API on S60 3rd Edition (3.0) and S60 3rd Edition, Feature Pack 1 devices.

Version 2 of the Onboard Camera API is supported from S60 3rd Edition, Feature Pack 2 onwards.

This page was last modified on 21 June 2012, at 08:01.
88 page views in the last 30 days.
×