import "sbIAlbumArtListener.idl";
Public Member Functions | |
void | onChangeFetcher (in sbIAlbumArtFetcher aFetcher) |
onChangeFetcher - Notifies the listener when the fetcher being used has changed. This is used from the sbIAlbumArtFetcherSet component. | |
void | onTrackResult (in nsIURI aImageLocation, in sbIMediaItem aMediaItem) |
onTrackResult - Notifies the listener when either an image has or has not been found. aImageLocation will be null if the operation failed to get artwork. | |
void | onAlbumResult (in nsIURI aImageLocation, in nsIArray aMediaItems) |
onAlbumResult - Notifies the listener when either an image has or has not been found for a list of items. aImageLocation will be null if the operation failed to get artwork. | |
void | onSearchComplete (in nsIArray aMediaItems) |
onSearchComplete - Notifies the listener that the search for artwork has been completed. |
Definition at line 53 of file sbIAlbumArtListener.idl.
void sbIAlbumArtListener::onChangeFetcher | ( | in sbIAlbumArtFetcher | aFetcher | ) |
onChangeFetcher - Notifies the listener when the fetcher being used has changed. This is used from the sbIAlbumArtFetcherSet component.
aFetcher | - Fetcher that has been changed to. |
void sbIAlbumArtListener::onTrackResult | ( | in nsIURI | aImageLocation, | |
in sbIMediaItem | aMediaItem | |||
) |
onTrackResult - Notifies the listener when either an image has or has not been found. aImageLocation will be null if the operation failed to get artwork.
aImageLocation | - uri of the image location, this can be a file, http, or other. | |
aMediaItem | - The media item that the result is for. |
void sbIAlbumArtListener::onAlbumResult | ( | in nsIURI | aImageLocation, | |
in nsIArray | aMediaItems | |||
) |
onAlbumResult - Notifies the listener when either an image has or has not been found for a list of items. aImageLocation will be null if the operation failed to get artwork.
aImageLocation | - uri of the image location, this can be a file, http, or other. | |
aMediaItems | - A list of the media items that the result is for. |
void sbIAlbumArtListener::onSearchComplete | ( | in nsIArray | aMediaItems | ) |
onSearchComplete - Notifies the listener that the search for artwork has been completed.
aMediaItems | - A list of the media items that the result is for. |