android/sdk/src/main/java/io/o2mc/sdk/business/batch/BatchManager.java
@Override public void onResponse(Call call, Response response) {
    if (response.isSuccessful()) {
      // Http response indicates success, inform user and SDK
      batchBus.onBatchSucceeded();
    } else {
      // Http response indicates failure, inform user and SDK
      dispatchFailed(new O2MCDispatchException(
          String.format("Backend HTTP response status code indicated failure. Status was '%s'",
              response.code())));
    }
  }
/**
   * Callback from OkHttp, called after successfully sending an HTTP request
   *
   * @param call the HTTP call that was sent
   * @param response the HTTP response that was received
   */
Callback from OkHttp, called after successfully sending an HTTP request
@param call the HTTP call that was sent
@param response the HTTP response that was received
Callback from OkHttp called after successfully sending an HTTP request @param call the HTTP call that was sent @param response the HTTP response that was received
@Override public void onResponse(Call call, Response response) {
    if (response.isSuccessful()) {
      batchBus.onBatchSucceeded();
    } else {
      dispatchFailed(new O2MCDispatchException(
          String.format("Backend HTTP response status code indicated failure. Status was '%s'",
              response.code())));
    }
  }
@ Override public void onResponse ( Call call , Response response ) { if ( response . isSuccessful ( ) ) { batchBus . onBatchSucceeded ( ) ; } else { dispatchFailed ( new O2MCDispatchException ( String . format ( "Backend HTTP response status code indicated failure. Status was '%s'" , response . code ( ) ) ) ) ; } }
Callback from OkHttp, called after successfully sending an HTTP request
 @param call the HTTP call that was sent
 @param response the HTTP response that was received
Callback from OkHttp called after successfully sending an HTTP request @param call the HTTP call that was sent @param response the HTTP response that was received
// Http response indicates success, inform user and SDK // Http response indicates failure, inform user and SDK