import "sbIFileScan.idl";
Public Member Functions | |
void | onFileScanStart () |
The media scan is starting. | |
void | onFileScanFile (in AString filePath, in PRInt32 fileCount) |
The media scan has found (yet another) file. | |
void | onFileScanEnd () |
The media scan is complete. |
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::onFileScanStart | ( | ) |
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::onFileScanEnd | ( | ) |