Class TransitIncident

java.lang.Object
com.here.sdk.routing.TransitIncident

public final class TransitIncident extends Object

A transit incident describes disruptions on the transit network. Disruptions scale from delays to service cancellations.

  • Field Details

    • summary

      @Nullable public String summary

      A human readable summary of the incident.

    • description

      @Nullable public String description

      A human readable description of the incident

    • type

      @Nullable public TransitIncidentType type

      Type of the incident.

    • effect

      @Nullable public TransitIncidentEffect effect

      Effect of the incident.

    • validFrom

      @Nullable public Date validFrom

      Valid from.

    • validUntil

      @Nullable public Date validUntil

      Valid until.

    • url

      @Nullable public String url

      Link to the original incident published at the agency website.

  • Constructor Details

    • TransitIncident

      public TransitIncident(@Nullable String summary, @Nullable String description, @Nullable TransitIncidentType type, @Nullable TransitIncidentEffect effect, @Nullable Date validFrom, @Nullable Date validUntil, @Nullable String url)

      Creates a new instance.

      Parameters:
      summary -

      A human readable summary of the incident.

      description -

      A human readable description of the incident

      type -

      Type of the incident.

      effect -

      Effect of the incident.

      validFrom -

      Valid from.

      validUntil -

      Valid until.

      url -

      Link to the original incident published at the agency website.

  • Method Details