Exemple #1
0
 @Override
 public void seekTo(int msec) {
   try {
     super.seekTo(msec);
   } catch (IllegalStateException e) {
     Logger.e(e);
   } catch (Exception e) {
     Logger.e(e);
   }
 }
Exemple #2
0
 @Override
 public void release() {
   try {
     super.release();
   } catch (IllegalStateException e) {
     Logger.e(e);
   } catch (Exception e) {
     Logger.e(e);
   }
 }
Exemple #3
0
 @Override
 public void setVolume(float leftVolume, float rightVolume) {
   try {
     super.setVolume(leftVolume, rightVolume);
   } catch (IllegalStateException e) {
     Logger.e(e);
   } catch (Exception e) {
     Logger.e(e);
   }
 }
Exemple #4
0
 @Override
 public void start() {
   try {
     super.start();
   } catch (IllegalStateException e) {
     Logger.e(e);
   } catch (Exception e) {
     Logger.e(e);
   }
 }
Exemple #5
0
 @Override
 public void pause() throws IllegalStateException {
   try {
     super.pause();
   } catch (IllegalStateException e) {
     Logger.e(e);
   } catch (Exception e) {
     Logger.e(e);
   }
 }
Exemple #6
0
 @Override
 public boolean isPlaying() {
   try {
     return super.isPlaying();
   } catch (IllegalStateException e) {
     Logger.e(e);
   } catch (Exception e) {
     Logger.e(e);
   }
   return false;
 }
Exemple #7
0
 @Override
 public int getVideoHeight() {
   try {
     return super.getVideoHeight();
   } catch (IllegalStateException e) {
     Logger.e(e);
   } catch (Exception e) {
     Logger.e(e);
   }
   return 0;
 }
Exemple #8
0
 @Override
 public int getCurrentPosition() {
   try {
     return super.getCurrentPosition();
   } catch (IllegalStateException e) {
     Logger.e(e);
   } catch (Exception e) {
     Logger.e(e);
   }
   return 0;
 }