public interface IncidentDetailsQuery
extends com.tomtom.online.sdk.common.jni.NativeObject
Modifier and Type | Method and Description |
---|---|
IncidentDetailsQuery |
withExpandCluster(boolean expandCluster)
Sets whether a list of separate incidents should be added to clusters.
|
IncidentDetailsQuery |
withGeometryType(IncidentGeometryType geometryType)
Sets the type of vector geometry added to incidents
|
IncidentDetailsQuery |
withIncludeOriginalPosition(boolean useOriginalPosition)
Sets whether the original position of the incident should be returned along with the one shifter to the
beginning of the traffic tube.
|
IncidentDetailsQuery |
withLanguage(IncidentResponseLanguage language)
Sets the language to use in the response to created query.
|
IncidentDetailsQuery |
withLanguage(java.lang.String language)
ISO 639-1 code for the output language.
|
IncidentDetailsQuery withLanguage(IncidentResponseLanguage language)
language
- the language to use in the response to created queryIncidentDetailsQuery withLanguage(java.lang.String language)
language
- the language to use in the response to created queryIncidentDetailsQuery withGeometryType(IncidentGeometryType geometryType)
geometryType
- the type of vector geometry added to incidentsIncidentDetailsQuery withExpandCluster(boolean expandCluster)
expandCluster
- if true, clusters will contain a list of incidents in addition to cluster dataIncidentDetailsQuery withIncludeOriginalPosition(boolean useOriginalPosition)
useOriginalPosition
- if true, the original position of the incident is included in the response