Class android.media.MediaPlayer

Added interface android.media.VolumeAutomation.

Added Methods
VolumeShaper createVolumeShaper(Configuration)  
DrmInfo getDrmInfo()  
String getDrmPropertyString(String)  
KeyRequest getKeyRequest(byte[], byte[], String, int, Map<String, String>)  
PersistableBundle getMetrics()  
void prepareDrm(UUID)  
byte[] provideKeyResponse(byte[], byte[])  
void releaseDrm()  
void restoreKeys(byte[])  
void seekTo(long, int)  
void setDataSource(Context, Uri, Map<String, String>, List<HttpCookie>)  
void setDrmPropertyString(String, String)  
void setOnDrmConfigHelper(OnDrmConfigHelper)  
void setOnDrmInfoListener(OnDrmInfoListener)  
void setOnDrmInfoListener(OnDrmInfoListener, Handler)  
void setOnDrmPreparedListener(OnDrmPreparedListener)  
void setOnDrmPreparedListener(OnDrmPreparedListener, Handler)  
 

Changed Methods
void setAudioStreamType(int) Now deprecated.
 
 

Added Fields
int MEDIA_INFO_AUDIO_NOT_PLAYING  
int MEDIA_INFO_VIDEO_NOT_PLAYING  
int PREPARE_DRM_STATUS_PREPARATION_ERROR  
int PREPARE_DRM_STATUS_PROVISIONING_NETWORK_ERROR  
int PREPARE_DRM_STATUS_PROVISIONING_SERVER_ERROR  
int PREPARE_DRM_STATUS_SUCCESS  
int SEEK_CLOSEST  
int SEEK_CLOSEST_SYNC  
int SEEK_NEXT_SYNC  
int SEEK_PREVIOUS_SYNC