import "sbIMediaLibrary.idl";
Public Member Functions | |
void | onMediaScanStart () |
The media scan is starting. | |
void | onMediaScanFile (in AString filePath, in PRInt32 fileCount) |
The media scan has found (yet another) file. | |
void | onMediaScanEnd () |
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 467 of file sbIMediaLibrary.idl.
void sbIMediaScanCallback::onMediaScanEnd | ( | ) |
The media scan is complete.
void sbIMediaScanCallback::onMediaScanFile | ( | 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 sbIMediaScanCallback::onMediaScanStart | ( | ) |
The media scan is starting.