|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.dt.iTunesController.ITObject
com.dt.iTunesController.ITTrack
com.dt.iTunesController.ITURLTrack
public class ITURLTrack
Represents a URL track. A URL track references a network audio stream.
| Field Summary |
|---|
| Fields inherited from class com.dt.iTunesController.ITObject |
|---|
object |
| Constructor Summary | |
|---|---|
ITURLTrack(com.jacob.com.Dispatch d)
|
|
| Method Summary | |
|---|---|
void |
downloadPodcastEpisode()
Start downloading the podcast episode that corresponds to this track. |
long |
getAlbumRating()
Returns the user or computed rating of the album that this track belongs to (0 to 100). |
ITRatingKind |
getAlbumRatingKind()
Returns the album rating kind. |
java.lang.String |
getCategory()
Returns the category for the track. |
java.lang.String |
getDescription()
Returns the description for the track. |
java.lang.String |
getLongDescription()
Returns the long description for the track. |
ITPlaylistCollection |
getPlaylists()
Returns a collection of playlists that contain the song that this track represents. |
ITRatingKind |
getRatingKind()
Returns the track rating kind. |
java.lang.String |
getURL()
Returns the URL of the stream represented by this track. |
boolean |
isPodcast()
Returns true if this track is a podcast track. |
void |
reveal()
Reveals the track in the main browser window. |
void |
setAlbumRating(long albumRating)
Set the album rating of the album that this track belongs to (0 to 100). |
void |
setCategory(java.lang.String category)
Sets the category for the track. |
void |
setDescription(java.lang.String description)
Sets the description for the track. |
void |
setLongDescription(java.lang.String longDescription)
Sets the long description for the track. |
void |
setURL(java.lang.String url)
Set the URL of the stream represented by this track. |
void |
updatePodcastFeed()
Update the podcast feed for this track. |
| Methods inherited from class com.dt.iTunesController.ITTrack |
|---|
delete, getAlbum, getArtist, getArtwork, getBitRate, getBPM, getComment, getCompilation, getComposer, getDateAdded, getDiscCount, getDiscNumber, getDuration, getEnabled, getEQ, getFinish, getGenre, getGrouping, getKind, getKindAsString, getModificationDate, getPlayedCount, getPlayedDate, getPlaylist, getPlayOrderIndex, getRating, getSampleRate, getSize, getStart, getTime, getTrackCount, getTrackNumber, getVolumeAdjustment, getYear, play, setAlbum, setArtist, setBPM, setComment, setCompilation, setComposer, setDiscCount, setDiscNumber, setEnabled, setEQ, setFinish, setGenre, setGrouping, setPlayedCount, setPlayedDate, setRating, setStart, setTrackCount, setTrackNumber, setVolumeAdjustment, setYear |
| Methods inherited from class com.dt.iTunesController.ITObject |
|---|
fetchDispatch, getIndex, getName, getPlaylistID, getSourceID, getTrackDatabaseID, getTrackID, setName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ITURLTrack(com.jacob.com.Dispatch d)
| Method Detail |
|---|
public java.lang.String getURL()
public void setURL(java.lang.String url)
url - The URL of the stream represented by this track.public boolean isPodcast()
IITURLTrack, the podcast episode has not been downloaded.
public java.lang.String getCategory()
public void setCategory(java.lang.String category)
category - Sets the category for the track.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - The new description for the track.public java.lang.String getLongDescription()
public void setLongDescription(java.lang.String longDescription)
longDescription - The new long description for the track.public long getAlbumRating()
public void setAlbumRating(long albumRating)
albumRating - The new album rating of the album that this track
belongs to (0 to 100). If rating is outside this range, it will be
pinned.public ITRatingKind getAlbumRatingKind()
public ITRatingKind getRatingKind()
public ITPlaylistCollection getPlaylists()
ITTrack.getPlaylist() to get the specific playlist that
contains this track.
public void updatePodcastFeed()
public void downloadPodcastEpisode()
public void reveal()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||