code: private void setRemoteControlClientPlaybackState(int state) {
          if (Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP) {
              mRemoteControlClientCompat.setPlaybackState(state);
          }
      }
docs: Propagate playback state to the remote control client on the lock screen.
  
  @param state playback state.