Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

S60第三版中不支持V2 Camera observer

From Wiki
Jump to: navigation, search
Article Metadata

兼容于
平台:
Symbian

文章
huwell 在 28 Jun 2007 创建
最后由 hamishwillee 在 07 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 7 May 2013, at 23:59.
283 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.

×