| Platform | Since |
|---|---|
| iPhone | 1.4.0 |
| iPad | 1.4.0 |
A representation of a media item returned by the music picker as part of the items array in the dictionary passed to its success function.
| Name | Summary |
|---|---|
| addEventListener |
Adds the specified callback as an event listener for the named event. |
| fireEvent |
Fires a synthesized event to any registered listeners. |
| getAlbumArtist |
Gets the value of the albumArtist property. |
| getAlbumTitle |
Gets the value of the albumTitle property. |
| getAlbumTrackCount |
Gets the value of the albumTrackCount property. |
| getAlbumTrackNumber |
Gets the value of the albumTrackNumber property. |
| getArtist |
Gets the value of the artist property. |
| getArtwork |
Gets the value of the artwork property. |
| getComposer |
Gets the value of the composer property. |
| getDiscCount |
Gets the value of the discCount property. |
| getDiscNumber |
Gets the value of the discNumber property. |
| getGenre |
Gets the value of the genre property. |
| getIsCompilation |
Gets the value of the isCompilation property. |
| getLyrics |
Gets the value of the lyrics property. |
| getMediaType |
Gets the value of the mediaType property. |
| getPlayCount |
Gets the value of the playCount property. |
| getPlaybackDuration |
Gets the value of the playbackDuration property. |
| getPodcastTitle |
Gets the value of the podcastTitle property. |
| getRating |
Gets the value of the rating property. |
| getSkipCount |
Gets the value of the skipCount property. |
| getTitle |
Gets the value of the title property. |
| removeEventListener |
Removes the specified callback as an event listener for the named event. |
| setAlbumArtist |
Sets the value of the albumArtist property. |
| setAlbumTitle |
Sets the value of the albumTitle property. |
| setAlbumTrackCount |
Sets the value of the albumTrackCount property. |
| setAlbumTrackNumber |
Sets the value of the albumTrackNumber property. |
| setArtist |
Sets the value of the artist property. |
| setArtwork |
Sets the value of the artwork property. |
| setComposer |
Sets the value of the composer property. |
| setDiscCount |
Sets the value of the discCount property. |
| setDiscNumber |
Sets the value of the discNumber property. |
| setGenre |
Sets the value of the genre property. |
| setIsCompilation |
Sets the value of the isCompilation property. |
| setLyrics |
Sets the value of the lyrics property. |
| setMediaType |
Sets the value of the mediaType property. |
| setPlayCount |
Sets the value of the playCount property. |
| setPlaybackDuration |
Sets the value of the playbackDuration property. |
| setPodcastTitle |
Sets the value of the podcastTitle property. |
| setRating |
Sets the value of the rating property. |
| setSkipCount |
Sets the value of the skipCount property. |
| setTitle |
Sets the value of the title property. |
| Name | Type | Summary |
|---|---|---|
| albumArtist | String |
the artist for the album of the item |
| albumTitle | String |
the album title of the item |
| albumTrackCount | Number |
the number of tracks for the album of the item |
| albumTrackNumber | Number |
the track number of the item |
| artist | String |
the artist of the item |
| artwork | Object |
a blob object containing the image for the item's artwork, or null if none |
| composer | String |
the composer of the item |
| discCount | Number |
the total number of discs of the item |
| discNumber | Number |
the disc number of the item |
| genre | String |
the genre of the item |
| isCompilation | Boolean |
true if the item is part of a compilation album |
| lyrics | String |
the lyrics of the item |
| mediaType | Number |
the type of the item |
| playCount | Number |
the number of times the item has been played |
| playbackDuration | Number |
the length (in seconds) of the item |
| podcastTitle | String |
the title of a podcast item. Only for media types of |
| rating | Number |
the rating of the item |
| skipCount | Number |
the number of times the item has been skipped |
| title | String |
the title of the item |