code: public void pause() {
          checkState();
          if (mState == STATE_PLAYING) {
              PlaybackService.pause(getContext(), mClientKey);
              mState = STATE_PAUSED;
          }
      }
docs: Pause the playback.