sbIMediaScanCallback Interface Reference

The callback to the sbIMediaScanQuery interface. More...

import "sbIMediaLibrary.idl";

List of all members.

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.


Detailed Description

The callback to the sbIMediaScanQuery 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!

See also:
sbIMediaScanQuery, sbIMediaScan, MediaScan.h

Definition at line 467 of file sbIMediaLibrary.idl.


Member Function Documentation

void sbIMediaScanCallback::onMediaScanEnd (  ) 

The media scan is complete.

See also:
onMediaScanStart, onMediaScanFile, sbIMediaScanQuery, sbIMediaScan

void sbIMediaScanCallback::onMediaScanFile ( in AString  filePath,
in PRInt32  fileCount 
)

The media scan has found (yet another) file.

Parameters:
filePath The path to the file
fileCount The number of files found so far
See also:
onMediaScanStart, onMediaScanEnd, sbIMediaScanQuery, sbIMediaScan

void sbIMediaScanCallback::onMediaScanStart (  ) 

The media scan is starting.

See also:
onMediaScanFile, onMediaScanEnd, sbIMediaScanQuery, sbIMediaScan


The documentation for this interface was generated from the following file:
Generated on Mon Aug 21 21:01:55 2006 for Songbird by  doxygen 1.4.7