Callback for batch media create items. More...
import"sbILibrary.idl";
Public Member Functions | |
void | onProgress (in unsigned long aIndex) |
Called periodically to provide progress updates for the batch operation. More... | |
void | onComplete (in nsIArray aMediaItems, in unsigned long aResult) |
Called when batch operation is complete. More... | |
Callback for batch media create items.
Definition at line 50 of file sbILibrary.idl.
void sbIBatchCreateMediaItemsListener::onComplete | ( | in nsIArray | aMediaItems, |
in unsigned long | aResult | ||
) |
Called when batch operation is complete.
aMediaItems | Array of the created sbIMediaItem objects. If the operation completes with an error, this argument is null. |
aResult | Result of operation. Set to an error value. NS_OK indicates successful completion. |
void sbIBatchCreateMediaItemsListener::onProgress | ( | in unsigned long | aIndex | ) |
Called periodically to provide progress updates for the batch operation.
aIndex | The index of the most recently completed item in the work array |