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