Beispiel #1
0
 @Override
 public void seekTo(int msec) {
   try {
     super.seekTo(msec);
   } catch (IllegalStateException e) {
     Logger.e(e);
   } catch (Exception e) {
     Logger.e(e);
   }
 }
Beispiel #2
0
 @Override
 public void release() {
   try {
     super.release();
   } catch (IllegalStateException e) {
     Logger.e(e);
   } catch (Exception e) {
     Logger.e(e);
   }
 }
Beispiel #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);
   }
 }
Beispiel #4
0
 @Override
 public void start() {
   try {
     super.start();
   } catch (IllegalStateException e) {
     Logger.e(e);
   } catch (Exception e) {
     Logger.e(e);
   }
 }
Beispiel #5
0
 @Override
 public void pause() throws IllegalStateException {
   try {
     super.pause();
   } catch (IllegalStateException e) {
     Logger.e(e);
   } catch (Exception e) {
     Logger.e(e);
   }
 }
Beispiel #6
0
 @Override
 public boolean isPlaying() {
   try {
     return super.isPlaying();
   } catch (IllegalStateException e) {
     Logger.e(e);
   } catch (Exception e) {
     Logger.e(e);
   }
   return false;
 }
Beispiel #7
0
 @Override
 public int getVideoHeight() {
   try {
     return super.getVideoHeight();
   } catch (IllegalStateException e) {
     Logger.e(e);
   } catch (Exception e) {
     Logger.e(e);
   }
   return 0;
 }
Beispiel #8
0
 @Override
 public int getCurrentPosition() {
   try {
     return super.getCurrentPosition();
   } catch (IllegalStateException e) {
     Logger.e(e);
   } catch (Exception e) {
     Logger.e(e);
   }
   return 0;
 }