×
Namespaces

Variants
Actions
Revision as of 02:59, 8 May 2013 by hamishwillee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

S60第三版中不支持V2 Camera observer

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata

兼容于
平台:
Symbian

文章
huwell 在 28 Jun 2007 创建
最后由 hamishwillee 在 08 May 2013 编辑
  • 设备, 软件 版本: S60 3rd Edition, S60 3rd Edition FP1


  • 说明:

在S60第三版中,MCameraObserver2将不被支持。


  • 详细描述:

S60第三版中你会发现有两个版本的camera observer接口类,MCameraObserver和MCameraObserver2

不过这里要说明的是MCameraObserver2尚未被支持。


  • 案例重现:

试图去这样构造一个CCamera的实例:

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

这不会引发异常,不过返回指针将为NULL


  • 解决方案:

在S60中用到照相机API时应使用MCameraObserver

This page was last modified on 8 May 2013, at 02:59.
100 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×