android/sdk/src/main/java/io/o2mc/sdk/business/batch/BatchManager.java
private void startDispatching() {
    // Check if the device is allowed to dispatch events
    if (!Util.isAllowedToDispatchEvents(usingHttpsEndpoint)) {
      trackingManager.notifyException(new O2MCDispatchException(
              "Http traffic is not allowed on newer versions of the Android API. Please use HTTPS instead, or lower your min/target SDK version."),
          true); // fatal exception, the next dispatch wouldn't work even if we tried
      return;
    }

    final int SECOND = 1000;
    timer.schedule(this, dispatchInterval * SECOND, dispatchInterval * SECOND);
  }
/**
   * Sets a timer for dispatching events to the backend.
   */
Sets a timer for dispatching events to the backend.
Sets a timer for dispatching events to the backend .
private void startDispatching() {
    if (!Util.isAllowedToDispatchEvents(usingHttpsEndpoint)) {
      trackingManager.notifyException(new O2MCDispatchException(
              "Http traffic is not allowed on newer versions of the Android API. Please use HTTPS instead, or lower your min/target SDK version."),
          true); 
      return;
    }
    final int SECOND = 1000;
    timer.schedule(this, dispatchInterval * SECOND, dispatchInterval * SECOND);
  }
private void startDispatching ( ) { if ( ! Util . isAllowedToDispatchEvents ( usingHttpsEndpoint ) ) { trackingManager . notifyException ( new O2MCDispatchException ( "Http traffic is not allowed on newer versions of the Android API. Please use HTTPS instead, or lower your min/target SDK version." ) , true ) ; return ; } final int SECOND = 1000 ; timer . schedule ( this , dispatchInterval * SECOND , dispatchInterval * SECOND ) ; }
Sets a timer for dispatching events to the backend.
Sets a timer for dispatching events to the backend .
// Check if the device is allowed to dispatch events // fatal exception, the next dispatch wouldn't work even if we tried