sbIAddMediaItemsListener Interface Reference

import"sbIMediaList.idl";

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

Public Member Functions

void onProgress (in unsigned long aItemsProcessed, in boolean aComplete)
 
void onItemAdded (in sbIMediaItem aNewItem)
 
void onComplete ()
 

Detailed Description

This interface is a listener for the addMediaItems method

Definition at line 74 of file sbIMediaList.idl.

Member Function Documentation

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

Parameters
aItemsProcessedthe current numbers of items processed
aCompletewhether the operation is complete

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