public class MediaMetaData extends Object
RemoteControlListener to provide information about
the currently playing background media on the device's lock screen.| Constructor and Description |
|---|
MediaMetaData() |
| Modifier and Type | Method and Description |
|---|---|
Image |
getAlbumArt()
Gets the album art for the media.
|
Image |
getArt()
Gets the art for the current media.
|
Image |
getDisplayIcon()
Gets the display icon for the media.
|
int |
getNumTracks()
Gets the current number of tracks in the current play list.
|
String |
getSubtitle()
Gets the media subtitle.
|
String |
getTitle()
Gets the media title.
|
int |
getTrackNumber()
Gets the media track number.
|
void |
setAlbumArt(Image albumArt)
Sets the album art for the media.
|
void |
setArt(Image art)
Sets the art for the current media.
|
void |
setDisplayIcon(Image displayIcon)
Sets the display icon for the media.
|
void |
setNumTracks(int numTracks)
Sets the current number of tracks in the current play list.
|
void |
setSubtitle(String subtitle)
Sets the media subtitle.
|
void |
setTitle(String title)
Sets the media title.
|
void |
setTrackNumber(int trackNumber)
Sets the media track number.
|
public String getTitle()
public void setTitle(String title)
title - the title to setpublic String getSubtitle()
public void setSubtitle(String subtitle)
subtitle - the subtitle to setpublic int getTrackNumber()
public void setTrackNumber(int trackNumber)
trackNumber - the trackNumber to setpublic int getNumTracks()
public void setNumTracks(int numTracks)
numTracks - the numTracks to setpublic Image getDisplayIcon()
public void setDisplayIcon(Image displayIcon)
displayIcon - the displayIcon to setpublic Image getAlbumArt()
public void setAlbumArt(Image albumArt)
albumArt - the albumArt to setpublic Image getArt()
public void setArt(Image art)
art - the art to set