The data source type
DataSourceType.live if the data source is live or external, DataSourceType.playback if the data source is playback or simulate
Test if this is an SDK instance
True if the interface is an SDK instance, false otherwise
Check if source is paused
True if stopped, false if not.
Get the playback interface
The playback listener object if available, null otherwise
Register a listener for the data source
The listener to be registered
The data type for which the listener will be registered
Optionalparameters: ParameterListOptional list of parameters
GemError.success on success, other GemError values on failure
Get the current configuration for a data type
The data type for which the configuration will be returned
The configuration as PositionSensorConfiguration
The data type description
The data type for which the description is requested.
The description of the data type.
Get the preferences for a data type
The data type for which the preferences will be returned
The configuration as SearchableParameterList
Test if a data type is provided by the data source.
The data type.
True if the data type is available, false otherwise.
Check if mock data is enabled for the given type
Type of the data
True if the data is mocked, false otherwise
Push the data to the data source
The data to push
True if the push data type is available, false otherwise
ProtectedregisterRegisters an object for auto release. When the object is not used anymore, it will be released automatically from C++.
The pointer ID to register
Unregister a listener for the data source for a specific data type
The listener to be unregistered
The data type for which the listener will be unregistered
GemError.success on success, other GemError values on failure
Unregister all listeners for the data source for all data types
The listener to be unregistered
Update the configuration for the specified type.
The configuration to be applied
The data type for which the configuration will be set (default: DataType.position)
GemError.success on success
StaticcreateCreate a new external data source
List of available data types for this data source. It is mandatory to provide DataType.position within the dataTypes list.
The created DataSource or null if failed
StaticcreateStaticcreateCreate a new log data source based on a log file
The log file path. The log file should not be a .gm file. Other formats such as .gpx are supported.
The created DataSource or null if failed
StaticcreateCreate a data source based on a route (a route simulation data source).
The route used for generating data source data.
The created DataSource or null if failed
Staticinit
SensorDataSource Through this interface data can be obtained from sensors, log files or any other means