Class TrafficIncidentsQueryOptions

java.lang.Object
com.here.sdk.traffic.TrafficIncidentsQueryOptions

public final class TrafficIncidentsQueryOptions extends Object

The options to specify how incidents should be queried.

  • Field Details

    • typeFilter

      @NonNull public List<TrafficIncidentType> typeFilter

      The list of incident types to be queried. If the list is empty, all types will be queried.

    • impactFilter

      @NonNull public List<TrafficIncidentImpact> impactFilter

      The list of incident impacts to be queried. If the list is empty, all incident impacts will be queried.

    • earliestStartTime

      @Nullable public Date earliestStartTime

      The earliest start time of incidents to be queried. If the value is null filtering by the earliest start time is not applied.

    • latestEndTime

      @Nullable public Date latestEndTime

      The latest end time of incidents to be queried. If the value is null filtering by the latest end time is not applied.

    • languageCode

      @Nullable public LanguageCode languageCode

      The language code of the query. It's the expected language of fields TrafficIncidentBase.getDescription() and TrafficIncident.getSummary() in the relevant response. However, the language code doesn't impact on TrafficLocation.description. If the language code is null or not supported then response fields are expected in the original language of the country that the incident belongs to.

  • Constructor Details

    • TrafficIncidentsQueryOptions

      public TrafficIncidentsQueryOptions()

      Creates a new instance with default values.

  • Method Details