LocationProvider

Responsible for informing users of location updates.

Functions

Link copied to clipboard

Adds an OnLocationUpdateListener which will inform about new GeoLocation each time a location change occurs.

Link copied to clipboard
abstract fun close()
Link copied to clipboard
abstract fun disable()

Disables the location provider.

Link copied to clipboard
abstract fun enable()

Enables the location provider.

Link copied to clipboard

Removes previously registered OnLocationUpdateListener.

Properties

Link copied to clipboard

The last known location, or null if no location has been determined yet.