interface IIncidentDetailsQuery
An interface to specify details of a traffic incident query such as language or geometry type that will be used in the Response. This interface is used in the IncidentDetailsQueryBuilder
class.
abstract fun withExpandCluster(expandCluster: Boolean!): IIncidentDetailsQuery!
Sets whether a list of separate incidents should be added to clusters. |
|
abstract fun withGeometryType(geometryType: IncidentGeometryType!): IIncidentDetailsQuery!
Sets the type of vector geometry added to incidents. |
|
abstract fun withIncludeOriginalPosition(useOriginalPosition: Boolean!): IIncidentDetailsQuery!
Sets whether the original position of the incident should be returned along with the one shifter to the beginning of the traffic tube. |
|
abstract fun withIsoLanguage(isoLanguage: String!): IIncidentDetailsQuery!
ISO 639-1 code for the output language. See https://developer.tomtom.com/online-traffic/online-traffic-documentation-online-traffic-incidents/traffic-incident-details for a list of supported languages and their ISO codes. |
|
abstract fun withLanguage(language: IncidentResponseLanguage!): IIncidentDetailsQuery!
Sets the language to use in the Response to a created query. |
class IncidentDetailsQueryBuilder : IIncidentDetailsQuery
The default builder for IncidentDetailsQuery objects. |