com.dt.iTunesController
Class ITSource
java.lang.Object
com.dt.iTunesController.ITObject
com.dt.iTunesController.ITSource
public class ITSource
- extends ITObject
Represents an entry in the Source list (music library, CD, device, etc.).
You can retrieve all the sources using iTunes.getSources().
|
Constructor Summary |
ITSource(com.jacob.com.Dispatch d)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ITSource
public ITSource(com.jacob.com.Dispatch d)
getKind
public ITSourceKind getKind()
- Returns the kind of the source.
- Returns:
- Returns the kind of the source.
getCapacity
public double getCapacity()
- Returns the total size of the source, if it has a fixed size.
- Returns:
- Returns the total size of the source, if it has a fixed size.
getFreespace
public double getFreespace()
- Returns the free space on the source, if it has a fixed size.
- Returns:
- Returns the free space on the source, if it has a fixed size.
getPlaylists
public ITPlaylistCollection getPlaylists()
- Returns a collection containing the playlists in this source.
The source's primary playlist is always the first playlist in the
collection.
- Returns:
- Collection of IITPlaylist objects.