The callback to the sbIFileScanQuery interface. More...
import"sbIFileScan.idl";
Public Member Functions | |
void | onFileScanStart () |
The media scan is starting. More... | |
void | onFileScanFile (in AString filePath, in PRInt32 fileCount) |
The media scan has found (yet another) file. More... | |
void | onFileScanEnd () |
The media scan is complete. More... | |
The callback to the sbIFileScanQuery interface.
This interface is meant to be implemented by user code.
Create one of these objects to be informed of the progress of the media scan.
NOTE: This object's methods are called from the media scan thread. Not necessarily safe for javascript!
Definition at line 57 of file sbIFileScan.idl.
void sbIFileScanCallback::onFileScanEnd | ( | ) |
The media scan is complete.
void sbIFileScanCallback::onFileScanFile | ( | in AString | filePath, |
in PRInt32 | fileCount | ||
) |
The media scan has found (yet another) file.
filePath | The path to the file |
fileCount | The number of files found so far |
void sbIFileScanCallback::onFileScanStart | ( | ) |
The media scan is starting.