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