Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 10:40, 28 June 2007.

S60第三版中不支持V2 Camera observer

From Forum Nokia Wiki

  • 设备, 软件 版本: 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

 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZseriesE5f60Q
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX