TransitIncident (API Reference)
Package com.here.sdk.routing
Class TransitIncident
java.lang.Object
com.here.sdk.routing.TransitIncident
A transit incident describes disruptions on the transit network. Disruptions scale from delays to service cancellations.
-
Field Summary
FieldsModifier and TypeFieldDescriptionA human readable description of the incidentEffect of the incident.A human readable summary of the incident.Type of the incident.Link to the original incident published at the agency website.Valid from.Valid until. -
Constructor Summary
ConstructorsConstructorDescriptionTransitIncident(String summary, String description, TransitIncidentType type, TransitIncidentEffect effect, Date validFrom, Date validUntil, String url) Creates a new instance. -
Method Summary
-
Field Details
-
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.
-
-
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