The Wayback Machine - https://web.archive.org/web/20081117133402/https://developer.mozilla.org/en/mozIStorageProgressHandler

Mozilla.com

  1. MDC
  2. Main Page
  3. mozIStorageProgressHandler
Table of contents
  1. 1. Method overview
  2. 2. Methods
    1. 2.1. onProgress()
          1. 2.1.1.1.1. Parameters
          2. 2.1.1.1.2. Return value
  3. 3. See also

mozIStorageProgressHandler

Table of contents
  1. 1. Method overview
  2. 2. Methods
    1. 2.1. onProgress()
          1. 2.1.1.1.1. Parameters
          2. 2.1.1.1.2. Return value
  3. 3. See also

This article covers features introduced in Firefox 3

The mozIStorageProgressHandler interface lets storage consumers receive callbacks during the execution of sqlite requests.


mozIStorageProgressHandler is defined in storage/public/mozIStorageProgressHandler.idl . It is scriptable and unfrozen (hasn't changed since Mozilla 1.8) .

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
aConnection
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

Page last modified 19:54, 12 Nov 2007 by Boo?

Files (0)