예제 #1
0
 public void toggle() {
   if (isSurfaceCreated) {
     if (handler == null) start();
     else if (handler.isStop()) {
       resume();
     } else pause();
   }
 }
예제 #2
0
 @Override
 public void start() {
   start(0);
 }
예제 #3
0
 public void restart() {
   stop();
   start();
 }