LocationOptions

abstract class LocationOptions

Base class for location options that are set via NavigationOptions.locationOptions. The only following implementation at the moment is RealLocationOptions. Use RealLocationOptions if the locations correspond to the actual location of a device.

Functions

Link copied to clipboard
abstract fun isSimulation(): Boolean

Returns whether the locations are being simulated.

Link copied to clipboard
abstract fun providerName(): String

Returns location provider name. It may be a class name or an indication whether it's a default provider or a custom one.

Inheritors

Link copied to clipboard