Interface PlaceIdsSearchCallback

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 PlaceIdsSearchCallback

The method will be called on the main thread when a search call has been completed.

  • Method Details

    • onPlaceIdsSearchCompleted

      void onPlaceIdsSearchCompleted(@Nullable SearchError searchError, @Nullable List<PlaceIdResult> results, @Nullable ResponseDetails responseDetails)

      The method will be called on the main thread when a search call has been completed.

      Parameters:
      searchError -

      An error enum indicating what went wrong. It is null for an operation that succeeds.

      results -

      One PlaceIdResult per input ID, in the same order as the request. It is null in case of an error.

      responseDetails -

      Additional information provided with the response. It is null in case of an error.