public class NativeFlowSegmentDataService extends com.tomtom.online.sdk.common.service.NativeService<FlowSegmentDataResponse,FlowSegmentDataQuery>
FlowSegmentDataResponse
and query passed as FlowSegmentDataQuery
.Constructor and Description |
---|
NativeFlowSegmentDataService(java.lang.String server,
java.lang.String apiVersion,
java.lang.String apiKey,
java.lang.String sdkVersion,
java.lang.String applicationClientId,
java.lang.String applicationClientVersion)
Creates an an instance of NativeFlowSegmentedDataService using provided parameters.
|
Modifier and Type | Method and Description |
---|---|
protected void |
cancel(long handle) |
protected long |
construct(java.lang.String server,
java.lang.String apiVersion,
java.lang.String apiKey) |
protected void |
destruct(long handle) |
protected void |
initializeAnalytics(long nativeHandle,
java.lang.String sdkVersion,
java.lang.String applicationClientId,
java.lang.String applicationClientVersion) |
protected FlowSegmentDataResponse |
requestSync(long handle,
long queryHandle) |
public NativeFlowSegmentDataService(java.lang.String server, java.lang.String apiVersion, java.lang.String apiKey, java.lang.String sdkVersion, java.lang.String applicationClientId, java.lang.String applicationClientVersion)
NativeService
class.server
- URI of the server.apiVersion
- version of TomTom API to perform requests against.apiKey
- TomTom API key.sdkVersion
- version of TomTomSDK used.applicationClientId
- client id used for STE analytics.applicationClientVersion
- client version used for STE analytics.protected long construct(java.lang.String server, java.lang.String apiVersion, java.lang.String apiKey)
construct
in class com.tomtom.online.sdk.common.service.NativeService<FlowSegmentDataResponse,FlowSegmentDataQuery>
protected void cancel(long handle)
cancel
in class com.tomtom.online.sdk.common.service.NativeService<FlowSegmentDataResponse,FlowSegmentDataQuery>
protected void destruct(long handle)
destruct
in class com.tomtom.online.sdk.common.service.NativeService<FlowSegmentDataResponse,FlowSegmentDataQuery>
@NonNull protected FlowSegmentDataResponse requestSync(long handle, long queryHandle)
requestSync
in class com.tomtom.online.sdk.common.service.NativeService<FlowSegmentDataResponse,FlowSegmentDataQuery>
protected void initializeAnalytics(long nativeHandle, java.lang.String sdkVersion, java.lang.String applicationClientId, java.lang.String applicationClientVersion)
initializeAnalytics
in class com.tomtom.online.sdk.common.service.NativeService<FlowSegmentDataResponse,FlowSegmentDataQuery>