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,ObjCProtocol
public class MPMediaItem extends MPMediaEntity
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMPMediaItem.MPMediaItemPtrNested classes/interfaces inherited from class org.robovm.apple.mediaplayer.MPMediaEntity
MPMediaEntity.MPMediaEntityPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description MPMediaItem()protectedMPMediaItem(NSObject.Handle h, long handle)protectedMPMediaItem(NSObject.SkipInit skipInit) -
Method Summary
Methods inherited from class org.robovm.apple.mediaplayer.MPMediaEntity
encode, enumerateValues, enumerateValues, getValue, initMethods 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, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
MPMediaItem
public MPMediaItem() -
MPMediaItem
-
MPMediaItem
-
-
Method Details
-
getPersistentID
public long getPersistentID()- Overrides:
getPersistentIDin classMPMediaEntity
-
getMediaType
-
getTitle
-
getAlbumTitle
-
getAlbumPersistentID
public long getAlbumPersistentID() -
getArtist
-
getArtistPersistentID
public long getArtistPersistentID() -
getAlbumArtist
-
getAlbumArtistPersistentID
public long getAlbumArtistPersistentID() -
getGenre
-
getGenrePersistentID
public long getGenrePersistentID() -
getComposer
-
getComposerPersistentID
public long getComposerPersistentID() -
getPlaybackDuration
public double getPlaybackDuration() -
getAlbumTrackNumber
public long getAlbumTrackNumber() -
getAlbumTrackCount
public long getAlbumTrackCount() -
getDiscNumber
public long getDiscNumber() -
getDiscCount
public long getDiscCount() -
getArtwork
-
isExplicitItem
public boolean isExplicitItem()- Since:
- Available in iOS 10.0 and later.
-
getLyrics
-
isCompilation
public boolean isCompilation() -
getReleaseDate
-
getBeatsPerMinute
public long getBeatsPerMinute() -
getComments
-
getAssetURL
-
isCloudItem
public boolean isCloudItem() -
isProtectedAsset
public boolean isProtectedAsset()- Since:
- Available in iOS 9.2 and later.
-
getPodcastTitle
-
getPodcastPersistentID
public long getPodcastPersistentID() -
getPlayCount
public long getPlayCount() -
getSkipCount
public long getSkipCount() -
getRating
public long getRating() -
getLastPlayedDate
-
getUserGrouping
-
getBookmarkTime
public double getBookmarkTime() -
getDateAdded
- Since:
- Available in iOS 10.0 and later.
-
getPlaybackStoreID
- Since:
- Available in iOS 10.3 and later.
-
isPreorder
public boolean isPreorder()- Since:
- Available in iOS 10.3 and later.
-
supportsSecureCoding
public static boolean supportsSecureCoding() -
getPersistentIDLegacy
public long getPersistentIDLegacy()- Overrides:
getPersistentIDLegacyin 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
-
getTitleLegacy
-
getAlbumTitleLegacy
-
getArtistLegacy
-
getAlbumArtistLegacy
-
getGenreLegacy
-
getComposerLegacy
-
getPlaybackDurationLegacy
public double getPlaybackDurationLegacy() -
getAlbumTrackNumberLegacy
public int getAlbumTrackNumberLegacy() -
getAlbumTrackCountLegacy
public int getAlbumTrackCountLegacy() -
getDiscNumberLegacy
public int getDiscNumberLegacy() -
getDiscCountLegacy
public int getDiscCountLegacy() -
getArtworkLegacy
-
getLyricsLegacy
-
isCompilationLegacy
public boolean isCompilationLegacy() -
getReleaseDateLegacy
- Since:
- Available in iOS 4.0 and later.
-
getBeatsPerMinuteLegacy
public int getBeatsPerMinuteLegacy()- Since:
- Available in iOS 4.0 and later.
-
getCommentsLegacy
- Since:
- Available in iOS 4.0 and later.
-
getAssetURLLegacy
- Since:
- Available in iOS 4.0 and later.
-
isCloudItemLegacy
public boolean isCloudItemLegacy()- Since:
- Available in iOS 6.0 and later.
-
getPodcastTitleLegacy
-
getPlayCountLegacy
public int getPlayCountLegacy() -
getSkipCountLegacy
public int getSkipCountLegacy() -
getRatingLegacy
public int getRatingLegacy() -
getLastPlayedDateLegacy
-
getUserGroupingLegacy
- Since:
- Available in iOS 4.0 and later.
-
getBookmarkTimeLegacy
public double getBookmarkTimeLegacy()- Since:
- Available in iOS 6.0 and later.
-
canFilterByProperty
-
getPersistentIDProperty
-
getTitleProperty
-