Class PlaceIdResult

java.lang.Object
com.here.sdk.search.PlaceIdResult

public final class PlaceIdResult extends Object

Holds the result for a single place ID from a SearchEngine.searchByPlaceIds request.

  • Field Details

    • queryId

      @NonNull public String queryId

      The place ID provided in the corresponding PlaceIdQuery.id.

    • place

      @Nullable public Place place

      The resolved Place, or null if no place could be resolved for the input PlaceIdQuery.id. Note The resolved Place.getId() may differ from the queryId in some cases. Use queryId to correlate this result with the original request.

  • Constructor Details

    • PlaceIdResult

      public PlaceIdResult(@NonNull String queryId)

      Creates a new instance.

      Parameters:
      queryId -

      The place ID provided in the corresponding PlaceIdQuery.id.

  • Method Details