mozIStorageProgressHandler 编辑
The mozIStorageProgressHandler
interface lets storage consumers receive callbacks during the execution of sqlite requests.
storage/public/mozIStorageProgressHandler.idl
Scriptable Please add a summary to this article. Last changed in Gecko 1.8 (Firefox 1.5 / Thunderbird 1.5 / SeaMonkey 1.0)Inherits from: nsISupports
Method overview
boolean onProgress(in mozIStorageConnection aConnection); |
Methods
onProgress()
The onProgress()
method is called periodically while an sqlite operation is ongoing. This allows you to monitor the progress and possibly display status information to the user.
boolean onProgress( in mozIStorageConnection aConnection );
Parameters
- <tt>aConnection</tt>
- A
mozIStorageConnection
connection indicating the connection for which the callback was invoked.
Return value
Return true
to abort the request or false
to allow it to continue.
See also
- Storage mozStorage introduction and how-to article
- mozIStorageConnection Database connection to a specific file or in-memory data storage
- mozIStorageStatement Create and execute SQL statements on a SQLite database.
- mozIStorageValueArray Wraps an array of SQL values, such as a result row.
- mozIStorageFunction Create a new SQLite function.
- mozIStorageAggregateFunction Create a new SQLite aggregate function.
- mozIStorageStatementWrapper Storage statement wrapper
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论