Ejemplo n.º 1
0
 /**
  * Resets the MediaPlayer to its uninitialized state. After calling this method, you will have to
  * initialize it again by setting the data source and calling prepare().
  */
 public void reset() {
   stayAwake(false);
   native_reset();
   // make sure none of the listeners get called anymore
   mEventHandler.removeCallbacksAndMessages(null);
 }
Ejemplo n.º 2
0
 /**
  * Resets the MediaPlayer to its uninitialized state. After calling this method, you will have to
  * initialize it again by setting the data source and calling prepare().
  */
 public void reset() {
   stayAwake(false);
   _reset();
   mEventHandler.removeCallbacksAndMessages(null);
   closeFD();
 }