Position Service
PositionService object.
Properties
Link copied to clipboard
Datasource. Used to obtain data.
Link copied to clipboard
Get the current improved position. API user should check if the provided position is valid or not by using PositionData.isValid
Link copied to clipboard
Get the latest position. User should check if the provided position is valid or not by using PositionData.isValid()
Link copied to clipboard
Data source type
Inherited properties
Functions
Link copied to clipboard
fun addListener(listener: PositionListener, type: <Error class: unknown class> = EDataType.ImprovedPosition)
Register a new position listener for updates at the defined interval. The listener will be called with updated position at the defined interval. The listener also gets updates when the availability state of the position provider changes.
Link copied to clipboard
Returns current position.
Link copied to clipboard
Returns current position.
Link copied to clipboard
Unregister a position listener.