A component which is interested in the result of an album art fetch request.
More...
import"sbIAlbumArtListener.idl";
|
void | onChangeFetcher (in sbIAlbumArtFetcher aFetcher) |
| onChangeFetcher - Notifies the listener when the fetcher being used has changed. This is used from the sbIAlbumArtFetcherSet component. More...
|
|
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. More...
|
|
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. More...
|
|
void | onSearchComplete (in nsIArray aMediaItems) |
| onSearchComplete - Notifies the listener that the search for artwork has been completed. More...
|
|
A component which is interested in the result of an album art fetch request.
- See Also
- sbIAlbumArtFetcher
-
sbIAlbumArtFetcherSet
Definition at line 53 of file sbIAlbumArtListener.idl.
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.
- Parameters
-
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. |
onChangeFetcher - Notifies the listener when the fetcher being used has changed. This is used from the sbIAlbumArtFetcherSet component.
- Parameters
-
aFetcher | - Fetcher that has been changed to. |
void sbIAlbumArtListener::onSearchComplete |
( |
in nsIArray |
aMediaItems | ) |
|
onSearchComplete - Notifies the listener that the search for artwork has been completed.
- Parameters
-
aMediaItems | - A list of the media items that the result is for. |
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.
- Parameters
-
aImageLocation | - uri of the image location, this can be a file, http, or other. |
aMediaItem | - The media item that the result is for. |
The documentation for this interface was generated from the following file: