public class AlongRouteSearchQueryBuilder extends com.tomtom.online.sdk.common.jni.BaseRequestQuery implements AlongRouteSearchQuery
AlongRouteSearchQuery
.Constructor and Description |
---|
AlongRouteSearchQueryBuilder(java.lang.String term,
java.util.List<LatLng> route,
int maxDetourTime) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
long |
getNativeHandle() |
AlongRouteSearchQuery |
withLimit(int limit)
The upper limit of the number of results.
|
isAutoDisposable, prepare
public AlongRouteSearchQueryBuilder(java.lang.String term, java.util.List<LatLng> route, int maxDetourTime)
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 AlongRouteSearchQuery withLimit(int limit)
AlongRouteSearchQuery
withLimit
in interface AlongRouteSearchQuery
limit
- upper limit of the number of results.