import"sbIMediaList.idl";
Public Member Functions | |
void | onProgress (in unsigned long aItemsProcessed, in boolean aComplete) |
void | onItemAdded (in sbIMediaItem aNewItem) |
void | onComplete () |
This interface is a listener for the addMediaItems method
Definition at line 74 of file sbIMediaList.idl.
void sbIAddMediaItemsListener::onComplete | ( | ) |
Called after the last item is added
void sbIAddMediaItemsListener::onItemAdded | ( | in sbIMediaItem | aNewItem | ) |
Called for each item added to the list
void sbIAddMediaItemsListener::onProgress | ( | in unsigned long | aItemsProcessed, |
in boolean | aComplete | ||
) |
Called intermittently (every SB_ASYNC_NOTIFICATION_ITEMS items, as specified in sbLocalDatabaseMediaListBase.h
aItemsProcessed | the current numbers of items processed |
aComplete | whether the operation is complete |