code: private void onOperationFinished(@NonNull final OperationDelivery<?> operationResult) {
          logd("onOperationFinished " + operationResult);
          switch (mState) {
              case PAUSED:
                  storeResult(operationResult);
                  break;
              case RESUMED:
                  deliverResult(operationResult);
                  break;
              default:
                  throw new IllegalStateException("Unknown state: " + mState);
          }
      }
docs: A dispatcher method which decides what to do with an operation result.
  
  @param operationResult an operation result which needs to be dispatched