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