Package org.robovm.apple.mediaplayer
Class MPMediaPlaylist
- 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.MPMediaItemCollection
-
- org.robovm.apple.mediaplayer.MPMediaPlaylist
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class MPMediaPlaylist extends MPMediaItemCollection
- Since:
- Available in iOS 3.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MPMediaPlaylist.MPMediaPlaylistPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.mediaplayer.MPMediaItemCollection
MPMediaItemCollection.MPMediaItemCollectionPtr
-
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 MPMediaPlaylist()
MPMediaPlaylist(NSArray<MPMediaItem> items)
protected
MPMediaPlaylist(NSObject.Handle h, long handle)
protected
MPMediaPlaylist(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addItemWithProductID(java.lang.String productID, org.robovm.objc.block.VoidBlock1<NSError> completionHandler)
void
addMediaItems(NSArray<MPMediaItem> mediaItems, org.robovm.objc.block.VoidBlock1<NSError> completionHandler)
java.lang.String
getAuthorDisplayName()
java.lang.String
getDescriptionText()
java.lang.String
getName()
java.lang.String
getNameLegacy()
long
getPersistentID()
long
getPersistentIDLegacy()
MPMediaPlaylistAttribute
getPlaylistAttributes()
MPMediaPlaylistAttribute
getPlaylistAttributesLegacy()
NSArray<MPMediaItem>
getSeedItems()
NSArray<MPMediaItem>
getSeedItemsLegacy()
-
Methods inherited from class org.robovm.apple.mediaplayer.MPMediaItemCollection
getCount, getItems, getMediaTypes, getRepresentativeItem, init
-
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
-
MPMediaPlaylist
public MPMediaPlaylist()
-
MPMediaPlaylist
protected MPMediaPlaylist(NSObject.Handle h, long handle)
-
MPMediaPlaylist
protected MPMediaPlaylist(NSObject.SkipInit skipInit)
-
MPMediaPlaylist
public MPMediaPlaylist(NSArray<MPMediaItem> items)
-
-
Method Detail
-
getPersistentID
public long getPersistentID()
- Overrides:
getPersistentID
in classMPMediaEntity
- Since:
- Available in iOS 7.0 and later.
-
getName
public java.lang.String getName()
- Since:
- Available in iOS 7.0 and later.
-
getPlaylistAttributes
public MPMediaPlaylistAttribute getPlaylistAttributes()
- Since:
- Available in iOS 7.0 and later.
-
getSeedItems
public NSArray<MPMediaItem> getSeedItems()
- Since:
- Available in iOS 8.0 and later.
-
getDescriptionText
public java.lang.String getDescriptionText()
- Since:
- Available in iOS 9.3 and later.
-
getAuthorDisplayName
public java.lang.String getAuthorDisplayName()
- Since:
- Available in iOS 9.3 and later.
-
getPersistentIDLegacy
public long getPersistentIDLegacy()
- Overrides:
getPersistentIDLegacy
in classMPMediaEntity
-
getNameLegacy
public java.lang.String getNameLegacy()
-
getPlaylistAttributesLegacy
public MPMediaPlaylistAttribute getPlaylistAttributesLegacy()
-
getSeedItemsLegacy
public NSArray<MPMediaItem> getSeedItemsLegacy()
-
addItemWithProductID
public void addItemWithProductID(java.lang.String productID, org.robovm.objc.block.VoidBlock1<NSError> completionHandler)
- Since:
- Available in iOS 9.3 and later.
-
addMediaItems
public void addMediaItems(NSArray<MPMediaItem> mediaItems, org.robovm.objc.block.VoidBlock1<NSError> completionHandler)
- Since:
- Available in iOS 9.3 and later.
-
-