public class FlowSegmentDataQueryBuilder extends com.tomtom.online.sdk.common.jni.BaseRequestQuery implements FlowSegmentDataQuery
FlowSegmentDataQuery
.Constructor and Description |
---|
FlowSegmentDataQueryBuilder(FlowSegmentStyle style,
int zoomLevel,
LatLng position) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
long |
getNativeHandle() |
boolean |
isAutoDisposable() |
FlowSegmentDataQueryBuilder |
withIncludeOpenLR(boolean includeOperLR)
Should response include OpenLR code?
|
FlowSegmentDataQueryBuilder |
withSpeedUnit(FlowSegmentSpeedUnit unit)
The representation of Speed units.
|
FlowSegmentDataQueryBuilder |
withThickness(int thickness)
Thickness segment width multiplier.
|
public FlowSegmentDataQueryBuilder(FlowSegmentStyle style, int zoomLevel, LatLng position)
public long getNativeHandle()
getNativeHandle
in interface com.tomtom.online.sdk.common.jni.JniNativeHandleOwner
public void dispose()
dispose
in interface com.tomtom.online.sdk.common.jni.JniNativeHandleOwner
public FlowSegmentDataQueryBuilder withThickness(int thickness)
FlowSegmentDataQuery
withThickness
in interface FlowSegmentDataQuery
thickness
- segment width multiplier.public FlowSegmentDataQueryBuilder withSpeedUnit(FlowSegmentSpeedUnit unit)
FlowSegmentDataQuery
withSpeedUnit
in interface FlowSegmentDataQuery
unit
- Unit of speed (KMPH/MPH).public FlowSegmentDataQueryBuilder withIncludeOpenLR(boolean includeOperLR)
FlowSegmentDataQuery
withIncludeOpenLR
in interface FlowSegmentDataQuery
includeOperLR
- OpenLR inclusion boolean flag.public boolean isAutoDisposable()
isAutoDisposable
in interface com.tomtom.online.sdk.common.jni.NativeObject
isAutoDisposable
in class com.tomtom.online.sdk.common.jni.BaseRequestQuery