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 a flow segmented data query which is used to gather information about speeds and travel times
of the road segment closest to a 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 separately display the two sides of the road.position
- Coordinates of a point closest to the road segment.thickness
- A thickness segment width multiplier.unit
- Defines the speed unit.includeOpenLR
- Defines if the Response should include OpenLR code.public void dispose()
dispose
in interface com.tomtom.online.sdk.common.jni.JniNativeHandleOwner
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()
getNativeHandle
in interface com.tomtom.online.sdk.common.jni.JniNativeHandleOwner
public boolean isAutoDisposable()
isAutoDisposable
in interface com.tomtom.online.sdk.common.jni.NativeObject
isAutoDisposable
in class com.tomtom.online.sdk.common.jni.BaseRequestQuery