Interface EVSearchCallback

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 EVSearchCallback

The method that will be called on the main thread when a search operation in EVSearchEngine has been completed. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The method that will be called on the main thread when a search operation in EVSearchEngine has been completed.
  • Method Details

    • onEVCP3SearchCompleted

      void onEVCP3SearchCompleted(@Nullable EVSearchError error, @Nullable List<EVChargingLocation> chargingLocations)

      The method that will be called on the main thread when a search operation in EVSearchEngine has been completed. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

      Parameters:
      error -

      The ev search error.

      chargingLocations -

      The ev charging locations.