Interface PrefetchStatusListener


public interface PrefetchStatusListener

Interface to get notified on status updates when prefetching map data.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called after the geo-corridor data downloads has been completed either with success or with error.
    void
    onProgress(int percentage)
    Called multiple times to indicate the update progress.
  • Method Details

    • onProgress

      void onProgress(int percentage)

      Called multiple times to indicate the update progress. Invoked on the main thread.

      Parameters:
      percentage -

      Represents a percentage of corridor data which has been downloaded.

    • onComplete

      void onComplete(@Nullable MapLoaderError error)

      Called after the geo-corridor data downloads has been completed either with success or with error. Invoked on the main thread.

      Parameters:
      error -

      Represents an error in case of a failure. If an error occurs, to resume operation, please download geo-corridor again. It is null for an operation that succeeds.