public class SDITrack extends java.lang.Object implements Track, android.os.Parcelable
Modifier and Type | Class and Description |
---|---|
static interface |
SDITrack.Composition
An mArtist is composed of the following methods
|
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<SDITrack> |
CREATOR |
Constructor and Description |
---|
SDITrack() |
SDITrack(SDITrack.Composition composition) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents()
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
|
SDIArtist |
getArtist() |
java.lang.String |
getArtistName()
Get the mArtist of the track.
|
int |
getDiscNumber() |
int |
getDuration() |
java.lang.String |
getExternalId() |
SDIRelease.SDIPrice |
getPrice() |
SDIRelease |
getRelease() |
java.util.Date |
getStreamingReleaseDate() |
java.lang.String |
getTitle()
Get the title of the track.
|
int |
getTrackNumber() |
java.lang.String |
getUrl() |
java.lang.String |
getVersion() |
boolean |
isExplicitContent() |
java.lang.String |
toString()
Returns a string containing a concise, human-readable description of this
object.
|
void |
writeToParcel(android.os.Parcel dest,
int flags)
Flatten this object in to a Parcel.
|
public static android.os.Parcelable.Creator<SDITrack> CREATOR
public SDITrack()
public SDITrack(SDITrack.Composition composition)
public java.lang.String getTitle()
Track
public java.lang.String getArtistName()
Track
getArtistName
in interface Track
public java.lang.String getExternalId()
public java.util.Date getStreamingReleaseDate()
public int getDuration()
public SDIRelease.SDIPrice getPrice()
public boolean isExplicitContent()
public int getTrackNumber()
public int getDiscNumber()
public SDIRelease getRelease()
public java.lang.String getUrl()
public java.lang.String getVersion()
public int describeContents()
android.os.Parcelable
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
android.os.Parcelable
writeToParcel
in interface android.os.Parcelable
dest
- The Parcel in which the object should be written.flags
- Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE
.public java.lang.String toString()
java.lang.Object
getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString
method
if you intend implementing your own toString
method.
toString
in class java.lang.Object