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.

CCamera不支持直接画屏的取景器

From Wiki
Jump to: navigation, search
Article Metadata

兼容于
平台: S60 3rd Edition, S60 5th Edition
S60 5th Edition
S60 3rd Edition FP2
S60 3rd Edition FP1

文章
翻译:
hoolee
最后由 hamishwillee 在 16 Aug 2012 编辑
  • 详细描述

CCamera API的StartViewFinderDirectL方法并没有如预期一样正常工作。视频图像没有在屏幕上直接显示出来。

  • 如何重演

使用CCamera的NewL或New2L方法构造完成后,使用CCamera的CameraInfo API方法获取TCameraInfo数据。

TCameraInfo cameraInfo;
iCamera->CameraInfo(cameraInfo);
if (cameraInfo.iOptionsSupported &TCameraInfo::EViewFinderDirectSupported)
{//Direct Access is supported
}
else
{//Direct Access is not supported
}

某些机器宣称可以支持直接取景器,但是使用StartViewFinderDirectL方法却发现只有空白的取景器被显示。

  • 解决方案

这属于CCamera API目前的一个限制。直接访问屏幕的摄像头取景暂未对第三方程序开放。

This page was last modified on 16 August 2012, at 06:46.
323 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.

×