Package org.robovm.apple.mediaplayer
Class MPMediaItem
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.mediaplayer.MPMediaEntity
-
- org.robovm.apple.mediaplayer.MPMediaItem
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class MPMediaItem extends MPMediaEntity
- Since:
- Available in iOS 3.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MPMediaItem.MPMediaItemPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.mediaplayer.MPMediaEntity
MPMediaEntity.MPMediaEntityPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description MPMediaItem()
protected
MPMediaItem(NSObject.Handle h, long handle)
protected
MPMediaItem(NSObject.SkipInit skipInit)
-
Method Summary
-
Methods inherited from class org.robovm.apple.mediaplayer.MPMediaEntity
canFilterByProperty, encode, enumerateValues, enumerateValues, getValue, init, supportsSecureCoding
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
MPMediaItem
public MPMediaItem()
-
MPMediaItem
protected MPMediaItem(NSObject.Handle h, long handle)
-
MPMediaItem
protected MPMediaItem(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getPersistentID
public long getPersistentID()
- Overrides:
getPersistentID
in classMPMediaEntity
- 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.
-
getPersistentIDLegacy
public long getPersistentIDLegacy()
- Overrides:
getPersistentIDLegacy
in classMPMediaEntity
-
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()
-
getArtworkLegacy
public MPMediaItemArtwork getArtworkLegacy()
-
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.
-
getPersistentIDProperty
public static MPMediaEntityProperty getPersistentIDProperty(MPMediaGrouping groupingType)
- Since:
- Available in iOS 4.2 and later.
-
getTitleProperty
public static MPMediaEntityProperty getTitleProperty(MPMediaGrouping groupingType)
- Since:
- Available in iOS 4.2 and later.
-
-