sbIBatchCreateMediaItemsListener Interface Reference

Callback for batch media create items. More...

import"sbILibrary.idl";

Inheritance diagram for sbIBatchCreateMediaItemsListener:
[legend]
Collaboration diagram for sbIBatchCreateMediaItemsListener:
[legend]

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

Detailed Description

Callback for batch media create items.

Definition at line 50 of file sbILibrary.idl.

Member Function Documentation

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

Called when batch operation is complete.

Parameters
aMediaItemsArray of the created sbIMediaItem objects. If the operation completes with an error, this argument is null.
aResultResult 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.

Parameters
aIndexThe index of the most recently completed item in the work array

The documentation for this interface was generated from the following file: