×
Namespaces

Variants
Actions

HandleBrowserLoadEventL提供了错误的大小信息

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Tested with
Devices(s): Nokia N95, Nokia E90 Communicator
Compatibility
Platform(s): S60 3rd Edition, S60 3rd Edition FP1
S60 3rd Edition FP1
S60 3rd Edition (initial release)
Article
Keywords: MBrCtlLoadEventObserver
Translated:
By hoolee
Last edited: hamishwillee (30 May 2013)


详细描述

为了监控浏览器控件的加载进程,主程序需要完成MBrCtlLoadEventObserver接口和它的HandleBrowserLoadEventL功能。


HandleBrowserLoadEventL方法的第二个参数为TUint aSize它包括了这个事件的大小信息。但这个大小信息是错误的。如果使用这个信息去估算收到整个数据的大小将会导致错误的结果。


所以使用时请忽视第二个参数的给出的错误信息,HandleBrowserLoadEventL仍然可以用来检测浏览器控件的相关事件。


解决方案

事件为TBrCtlDefs:: EEventMoreUrlContentArrived 时返回正确值

This page was last modified on 30 May 2013, at 05:45.
101 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.

×