onPause abstract method

void onPause(
  1. MapLoaderError? error
)

Called when update is paused.

Invoked on the main thread.

  • error Populated when a retryable error is the reason for a pause. A retryable error can happen, when, for example, the HERE SDK tries too often to resume a download that was paused due to a lost connection. In general, the HERE SDK will try a few times, before the update is paused. This error value gives a hint on the reason for the necessary retry operation. A paused download can be resumed by the user at a later time. It is 'null' when MapUpdateTask.pauseWithCompaction was called by the user.

Implementation

void onPause(MapLoaderError? error);