ProxyLocationEngine

class ProxyLocationEngine : LocationEngine

Implementation of the LocationEngine which provides location programmatically set with setLocation.

Important: This is a Public Preview API. It may be changed or removed at any time.

Constructors

Link copied to clipboard
fun ProxyLocationEngine()

Functions

Link copied to clipboard
open override fun addOnLocationUpdateListener(listener: OnLocationUpdateListener)
Link copied to clipboard
open override fun disable()
Link copied to clipboard
open override fun dispose()
Link copied to clipboard
open override fun enable()
Link copied to clipboard
open override fun removeOnLocationUpdateListener(listener: OnLocationUpdateListener)
Link copied to clipboard
fun setLocation(location: GeoLocation)

Sets location which will be propagated to all listeners.

Properties

Link copied to clipboard
open override val lastKnownLocation: GeoLocation?