public MPNowPlayingInfo setArtwork(MPMediaItemArtwork artwork) { set(MPMediaItemProperty.Artwork, artwork); return this; }
public MPNowPlayingInfo setGenre(String genre) { set(MPMediaItemProperty.Genre, new NSString(genre)); return this; } public String getComposer() {
public MPNowPlayingInfo setDiscNumber(int discNumber) { set(MPMediaItemProperty.DiscNumber, NSNumber.valueOf(discNumber)); return this; } public int getDiscCount() {
public MPNowPlayingInfo setTitle(String title) { set(MPMediaItemProperty.Title, new NSString(title)); return this; } public String getAlbumTitle() {
public MPNowPlayingInfo setArtist(String artist) { set(MPMediaItemProperty.Artist, new NSString(artist)); return this; } public String getGenre() {
public MPNowPlayingInfo setAlbumTrackCount(int albumTrackCount) { set(MPMediaItemProperty.AlbumTrackCount, NSNumber.valueOf(albumTrackCount)); return this; } public int getDiscNumber() {
public MPNowPlayingInfo setPersistentID(long id) { set(MPMediaItemProperty.ItemPersistentID, NSNumber.valueOf(id)); return this; } public String getTitle() {
public MPNowPlayingInfo setAlbumTitle(String albumTitle) { set(MPMediaItemProperty.AlbumTitle, new NSString(albumTitle)); return this; } public String getArtist() {
public MPNowPlayingInfo setComposer(String composer) { set(MPMediaItemProperty.Composer, new NSString(composer)); return this; } public double getPlaybackDuration() {
public MPNowPlayingInfo setPlaybackDuration(double playbackDuration) { set(MPMediaItemProperty.PlaybackDuration, NSNumber.valueOf(playbackDuration)); return this; } public int getAlbumTrackNumber() {
public MPNowPlayingInfo setAlbumTrackNumber(int albumTrackNumber) { set(MPMediaItemProperty.AlbumTrackNumber, NSNumber.valueOf(albumTrackNumber)); return this; } public int getAlbumTrackCount() {
public MPNowPlayingInfo setDiscCount(int discCount) { set(MPMediaItemProperty.DiscCount, NSNumber.valueOf(discCount)); return this; } public MPMediaItemArtwork getArtwork() {
/** * @since Available in iOS 5.0 and later. */ public MPNowPlayingInfo setPlaybackRate(double playbackRate) { set(Keys.PlaybackRate(), NSNumber.valueOf(playbackRate)); return this; } /**
/** * @since Available in iOS 5.0 and later. */ public MPNowPlayingInfo setPlaybackQueueCount(int playbackQueueCount) { set(Keys.PlaybackQueueCount(), NSNumber.valueOf(playbackQueueCount)); return this; } /**
/** * @since Available in iOS 5.0 and later. */ public MPNowPlayingInfo setChapterNumber(int chapterNumber) { set(Keys.ChapterNumber(), NSNumber.valueOf(chapterNumber)); return this; } /**
/** * @since Available in iOS 5.0 and later. */ public MPNowPlayingInfo setElapsedPlaybackTime(double elapsedPlaybackTime) { set(Keys.ElapsedPlaybackTime(), NSNumber.valueOf(elapsedPlaybackTime)); return this; } /**
/** * @since Available in iOS 8.0 and later. */ public MPNowPlayingInfo setDefaultPlaybackRate(double defaultPlaybackRate) { set(Keys.DefaultPlaybackRate(), NSNumber.valueOf(defaultPlaybackRate)); return this; } /**
/** * @since Available in iOS 5.0 and later. */ public MPNowPlayingInfo setChapterCount(int chapterCount) { set(Keys.ChapterCount(), NSNumber.valueOf(chapterCount)); return this; } /*</methods>*/
/** * @since Available in iOS 5.0 and later. */ public MPNowPlayingInfo setPlaybackQueueIndex(int playbackQueueIndex) { set(Keys.PlaybackQueueIndex(), NSNumber.valueOf(playbackQueueIndex)); return this; } /**
/** * @since Available in iOS 5.0 and later. */ public MPNowPlayingInfo setChapterNumber(int chapterNumber) { set(Keys.ChapterNumber(), NSNumber.valueOf(chapterNumber)); return this; } /**