Class MPMediaItem

    • Constructor Detail

      • MPMediaItem

        public MPMediaItem()
    • Method Detail

      • getPersistentID

        public long getPersistentID()
        Overrides:
        getPersistentID in class MPMediaEntity
        Since:
        Available in iOS 5.0 and later.
      • getMediaType

        public MPMediaType getMediaType()
        Since:
        Available in iOS 7.0 and later.
      • getTitle

        public java.lang.String getTitle()
        Since:
        Available in iOS 7.0 and later.
      • getAlbumTitle

        public java.lang.String getAlbumTitle()
        Since:
        Available in iOS 7.0 and later.
      • getAlbumPersistentID

        public long getAlbumPersistentID()
        Since:
        Available in iOS 8.0 and later.
      • getArtist

        public java.lang.String getArtist()
        Since:
        Available in iOS 7.0 and later.
      • getArtistPersistentID

        public long getArtistPersistentID()
        Since:
        Available in iOS 8.0 and later.
      • getAlbumArtist

        public java.lang.String getAlbumArtist()
        Since:
        Available in iOS 7.0 and later.
      • getAlbumArtistPersistentID

        public long getAlbumArtistPersistentID()
        Since:
        Available in iOS 8.0 and later.
      • getGenre

        public java.lang.String getGenre()
        Since:
        Available in iOS 7.0 and later.
      • getGenrePersistentID

        public long getGenrePersistentID()
        Since:
        Available in iOS 8.0 and later.
      • getComposer

        public java.lang.String getComposer()
        Since:
        Available in iOS 7.0 and later.
      • getComposerPersistentID

        public long getComposerPersistentID()
        Since:
        Available in iOS 8.0 and later.
      • getPlaybackDuration

        public double getPlaybackDuration()
        Since:
        Available in iOS 7.0 and later.
      • getAlbumTrackNumber

        public long getAlbumTrackNumber()
        Since:
        Available in iOS 7.0 and later.
      • getAlbumTrackCount

        public long getAlbumTrackCount()
        Since:
        Available in iOS 8.0 and later.
      • getDiscNumber

        public long getDiscNumber()
        Since:
        Available in iOS 7.0 and later.
      • getDiscCount

        public long getDiscCount()
        Since:
        Available in iOS 8.0 and later.
      • getArtwork

        public MPMediaItemArtwork getArtwork()
        Since:
        Available in iOS 7.0 and later.
      • isExplicitItem

        public boolean isExplicitItem()
        Since:
        Available in iOS 10.0 and later.
      • getLyrics

        public java.lang.String getLyrics()
        Since:
        Available in iOS 8.0 and later.
      • isCompilation

        public boolean isCompilation()
        Since:
        Available in iOS 8.0 and later.
      • getReleaseDate

        public NSDate getReleaseDate()
        Since:
        Available in iOS 7.0 and later.
      • getBeatsPerMinute

        public long getBeatsPerMinute()
        Since:
        Available in iOS 8.0 and later.
      • getComments

        public java.lang.String getComments()
        Since:
        Available in iOS 8.0 and later.
      • getAssetURL

        public NSURL getAssetURL()
        Since:
        Available in iOS 8.0 and later.
      • isCloudItem

        public boolean isCloudItem()
        Since:
        Available in iOS 8.0 and later.
      • isProtectedAsset

        public boolean isProtectedAsset()
        Since:
        Available in iOS 9.2 and later.
      • getPodcastTitle

        public java.lang.String getPodcastTitle()
        Since:
        Available in iOS 7.0 and later.
      • getPodcastPersistentID

        public long getPodcastPersistentID()
        Since:
        Available in iOS 8.0 and later.
      • getPlayCount

        public long getPlayCount()
        Since:
        Available in iOS 7.0 and later.
      • getSkipCount

        public long getSkipCount()
        Since:
        Available in iOS 7.0 and later.
      • getRating

        public long getRating()
        Since:
        Available in iOS 7.0 and later.
      • getLastPlayedDate

        public NSDate getLastPlayedDate()
        Since:
        Available in iOS 7.0 and later.
      • getUserGrouping

        public java.lang.String getUserGrouping()
        Since:
        Available in iOS 8.0 and later.
      • getBookmarkTime

        public double getBookmarkTime()
        Since:
        Available in iOS 7.0 and later.
      • getDateAdded

        public NSDate getDateAdded()
        Since:
        Available in iOS 10.0 and later.
      • getPlaybackStoreID

        public java.lang.String getPlaybackStoreID()
        Since:
        Available in iOS 10.3 and later.
      • getAlbumPersistentIDLegacy

        public long getAlbumPersistentIDLegacy()
        Since:
        Available in iOS 4.2 and later.
      • getArtistPersistentIDLegacy

        public long getArtistPersistentIDLegacy()
        Since:
        Available in iOS 4.2 and later.
      • getAlbumArtistPersistentIDLegacy

        public long getAlbumArtistPersistentIDLegacy()
        Since:
        Available in iOS 4.2 and later.
      • getGenrePersistentIDLegacy

        public long getGenrePersistentIDLegacy()
        Since:
        Available in iOS 4.2 and later.
      • getComposerPersistentIDLegacy

        public long getComposerPersistentIDLegacy()
        Since:
        Available in iOS 4.2 and later.
      • getPodcastPersistentIDLegacy

        public long getPodcastPersistentIDLegacy()
        Since:
        Available in iOS 4.2 and later.
      • getMediaTypeLegacy

        public MPMediaType getMediaTypeLegacy()
      • getTitleLegacy

        public java.lang.String getTitleLegacy()
      • getAlbumTitleLegacy

        public java.lang.String getAlbumTitleLegacy()
      • getArtistLegacy

        public java.lang.String getArtistLegacy()
      • getAlbumArtistLegacy

        public java.lang.String getAlbumArtistLegacy()
      • getGenreLegacy

        public java.lang.String getGenreLegacy()
      • getComposerLegacy

        public java.lang.String getComposerLegacy()
      • getPlaybackDurationLegacy

        public double getPlaybackDurationLegacy()
      • getAlbumTrackNumberLegacy

        public int getAlbumTrackNumberLegacy()
      • getAlbumTrackCountLegacy

        public int getAlbumTrackCountLegacy()
      • getDiscNumberLegacy

        public int getDiscNumberLegacy()
      • getDiscCountLegacy

        public int getDiscCountLegacy()
      • getLyricsLegacy

        public java.lang.String getLyricsLegacy()
      • isCompilationLegacy

        public boolean isCompilationLegacy()
      • getReleaseDateLegacy

        public NSDate getReleaseDateLegacy()
        Since:
        Available in iOS 4.0 and later.
      • getBeatsPerMinuteLegacy

        public int getBeatsPerMinuteLegacy()
        Since:
        Available in iOS 4.0 and later.
      • getCommentsLegacy

        public java.lang.String getCommentsLegacy()
        Since:
        Available in iOS 4.0 and later.
      • getAssetURLLegacy

        public NSURL getAssetURLLegacy()
        Since:
        Available in iOS 4.0 and later.
      • isCloudItemLegacy

        public boolean isCloudItemLegacy()
        Since:
        Available in iOS 6.0 and later.
      • getPodcastTitleLegacy

        public java.lang.String getPodcastTitleLegacy()
      • getPlayCountLegacy

        public int getPlayCountLegacy()
      • getSkipCountLegacy

        public int getSkipCountLegacy()
      • getRatingLegacy

        public int getRatingLegacy()
      • getLastPlayedDateLegacy

        public NSDate getLastPlayedDateLegacy()
      • getUserGroupingLegacy

        public java.lang.String getUserGroupingLegacy()
        Since:
        Available in iOS 4.0 and later.
      • getBookmarkTimeLegacy

        public double getBookmarkTimeLegacy()
        Since:
        Available in iOS 6.0 and later.