Songbird / Development / Songbird Add-Ons API Documentation

sbIBatchCreateMediaItemsListener Interface Reference

Callback for batch media create items. More...

import "sbILibrary.idl";

List of all members.

Public Member Functions

void onProgress (in unsigned long aIndex)
 Called periodically to provide progress updates for the batch operation.
void onComplete (in nsIArray aMediaItems, in unsigned long aResult)
 Called when batch operation is complete.


Detailed Description

Callback for batch media create items.

Definition at line 50 of file sbILibrary.idl.


Member Function Documentation

void sbIBatchCreateMediaItemsListener::onProgress ( in unsigned long  aIndex  ) 

Called periodically to provide progress updates for the batch operation.

Parameters:
aIndex The index of the most recently completed item in the work array

void sbIBatchCreateMediaItemsListener::onComplete ( in nsIArray  aMediaItems,
in unsigned long  aResult 
)

Called when batch operation is complete.

Parameters:
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.


The documentation for this interface was generated from the following file:
Generated on Tue Mar 10 14:28:56 2009 for Songbird by  doxygen 1.5.2