SafetyLocationsUpdateListener

Interface to listeners for safety location updates. The listener will be executed on the main thread.

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

Functions

Link copied to clipboard
abstract fun onDataUpdated(options: SafetyLocationsOptions)

Called when there is a safety location data update.

Link copied to clipboard

Called when an error occurs while subscribing to safety locations or updating the safety location data.