Interface RepairPersistentMapCallback

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface RepairPersistentMapCallback

A method which is called on the main thread when MapDownloader.repairPersistentMap(com.here.sdk.maploader.RepairPersistentMapCallback) has been completed. The first argument indicates an error in case of a failure. The second argument contains the results. Both arguments cannot be null at the same time - or not null at the same time.

  • Method Details

    • onCompleted

      void onCompleted(@Nullable PersistentMapRepairError persistentMapRepairError)

      A method which is called on the main thread when MapDownloader.repairPersistentMap(com.here.sdk.maploader.RepairPersistentMapCallback) has been completed. The first argument indicates an error in case of a failure. The second argument contains the results. Both arguments cannot be null at the same time - or not null at the same time.

      Parameters:
      persistentMapRepairError -

      Represents an error in case of a failure. It is null for an operation that succeeds.