OnCurrentLocationListener

Listener to notify current location. When current location is requested using getCurrentLocation, method returns immediately and listener might be called later if no cached location is readily available, in such cases system must wait until a new location update is received.

Functions

Link copied to clipboard
abstract fun onCurrentLocation(location: Location)

Called when new location is received or a recent cached location is available.