public class IncidentDetailsQuery
extends com.tomtom.online.sdk.common.jni.BaseRequestQuery
IncidentDetailsQuery
.Constructor and Description |
---|
IncidentDetailsQuery(IncidentStyle style,
com.tomtom.online.sdk.common.location.BoundingBox boundingBox,
java.lang.Integer zoom,
java.lang.String trafficModelId,
IncidentResponseLanguage language,
IncidentGeometryType geometryType,
java.lang.Boolean expandCluster,
java.lang.Boolean includeOriginalPosition,
java.lang.String isoLanguage)
Creates an instance of incident details query used for gathering traffic incidents using Traffic API.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
long |
getNativeHandle() |
boolean |
isAutoDisposable()
Dispose query when is no more needed.
|
long |
prepare() |
public IncidentDetailsQuery(IncidentStyle style, com.tomtom.online.sdk.common.location.BoundingBox boundingBox, java.lang.Integer zoom, java.lang.String trafficModelId, IncidentResponseLanguage language, IncidentGeometryType geometryType, java.lang.Boolean expandCluster, java.lang.Boolean includeOriginalPosition, java.lang.String isoLanguage)
style
- the style to be used to render the tile.boundingBox
- corners of the area to report on.zoom
- zoom level of tile to be rendered.trafficModelId
- ID of traffic model which is updated every minute, and is valid for two
minutes before it times out.language
- sets the language to use in the response to created query.geometryType
- sets the type of vector geometry added to incidents.expandCluster
- sets whether a list of separate incidents should be added to clusters.includeOriginalPosition
- sets whether the original position of the incident should be returned along with the one shifter to the
beginning of the traffic tube.isoLanguage
- ISO 639-1 code for the output language.public long prepare()
prepare
in interface com.tomtom.online.sdk.common.jni.JniDataModel
prepare
in class com.tomtom.online.sdk.common.jni.BaseRequestQuery
public long getNativeHandle()
public void dispose()
public boolean isAutoDisposable()
isAutoDisposable
in interface com.tomtom.online.sdk.common.jni.NativeObject
isAutoDisposable
in class com.tomtom.online.sdk.common.jni.BaseRequestQuery