com.dt.iTunesController
Class ITArtworkCollection
java.lang.Object
com.dt.iTunesController.ITArtworkCollection
public class ITArtworkCollection
- extends java.lang.Object
Represents a collection of Artwork objects.
Note that collection indices are always 1-based.
You can retrieve all the Artworks defined for a source using
ITSource.getArtwork().
|
Field Summary |
protected com.jacob.com.Dispatch |
object
|
|
Method Summary |
int |
getCount()
Returns the number of playlists in the collection. |
ITArtwork |
getItem(int index)
Returns an ITArtwork object corresponding to the given index (1-based). |
ITArtwork |
getItemByPersistentID(int highID,
int lowID)
Returns an ITArtwork object with the specified persistent ID. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
object
protected com.jacob.com.Dispatch object
ITArtworkCollection
public ITArtworkCollection(com.jacob.com.Dispatch d)
getCount
public int getCount()
- Returns the number of playlists in the collection.
- Returns:
- Returns the number of playlists in the collection.
getItem
public ITArtwork getItem(int index)
- Returns an ITArtwork object corresponding to the given index (1-based).
- Parameters:
index - Index of the playlist to retrieve, must be less than or
equal to ITArtworkCollection.getCount().
- Returns:
- Returns an ITArtwork object corresponding to the given index.
Will be set to NULL if no playlist could be retrieved.
getItemByPersistentID
public ITArtwork getItemByPersistentID(int highID,
int lowID)
- Returns an ITArtwork object with the specified persistent ID. See the
documentation on ITObject for more information on persistent IDs.
- Parameters:
highID - The high 32 bits of the 64-bit persistent ID.lowID - The low 32 bits of the 64-bit persistent ID.
- Returns:
- Returns an ITArtwork object with the specified persistent ID.
Will be set to NULL if no playlist could be retrieved.