LocationUpdateObserver
public protocol LocationUpdateObserver : Observer
Declares an observer that can receive location updates.
The LocationUpdateObserver protocol is used to notify observers when a new location is available.
Any object that wants to receive location updates should conform to this protocol and implement the didUpdateLocation method.
This allows the observer to use the updated location for various purposes such as updating UI, navigation, etc.
-
Notified when a new location is available with source that provides the location.
This function provides the updated
GeoLocationto the observer. The observer can then use this updated location for various purposes such as updating UI, navigation, etc.Declaration
Swift
func didUpdateLocation(location: GeoLocation)Parameters
locationThe new
GeoLocationthat has been updated.
TomTom SDK for iOS (0.71.1)
LocationUpdateObserver