public class FlowSegmentDataQuery
extends com.tomtom.online.sdk.common.jni.BaseRequestQuery
implements com.tomtom.online.sdk.common.jni.NativeObject
FlowSegmentDataQuery.| Constructor and Description |
|---|
FlowSegmentDataQuery(FlowSegmentStyle style,
java.lang.Integer zoomLevel,
LatLng position,
java.lang.Integer thickness,
FlowSegmentSpeedUnit unit,
java.lang.Boolean includeOpenLR)
Constructor for flow segmented data query which is used for gathering information about speeds and travel times
of the road segment closest to passed position.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
long |
getNativeHandle() |
boolean |
isAutoDisposable() |
long |
prepare() |
public FlowSegmentDataQuery(FlowSegmentStyle style, java.lang.Integer zoomLevel, LatLng position, java.lang.Integer thickness, FlowSegmentSpeedUnit unit, java.lang.Boolean includeOpenLR)
style - the type of flow data to be displayed on the tile.zoomLevel - affects how traffic incident coordinates are used to display the two sides of the road separately.position - coordinates of a point close to the road segment.thickness - thickness segment width multiplier.unit - defines the speed unit.includeOpenLR - defines if response should include OpenLR code.public void dispose()
dispose in interface com.tomtom.online.sdk.common.jni.JniNativeHandleOwnerpublic long prepare()
prepare in interface com.tomtom.online.sdk.common.jni.JniDataModelprepare in class com.tomtom.online.sdk.common.jni.BaseRequestQuerypublic long getNativeHandle()
getNativeHandle in interface com.tomtom.online.sdk.common.jni.JniNativeHandleOwnerpublic boolean isAutoDisposable()
isAutoDisposable in interface com.tomtom.online.sdk.common.jni.NativeObjectisAutoDisposable in class com.tomtom.online.sdk.common.jni.BaseRequestQuery