Resetting a MediaPlayer instance returns it to its uninitialized state,
which is called IDLE in MediaPlayer.PlayerState.
Resetting
a
MediaPlayer instance is useful in the following cases:
- Call reset to
return the MediaPlayer instance to its uninitialized state:
void reset() throws IllegalStateException;
- Use MediaPlayer.replaceCurrentItem to
load another MediaResource (or, in the case of clearing
an error, the same MediaResource).
- When you
receive the PlaybackEventListener.onPrepared callback,
you can start the playback.