addHorizonUpdatedListener
abstract fun addHorizonUpdatedListener(options: <Error class: unknown class>, listener: HorizonUpdatedListener)
Adds an HorizonUpdatedListener which will inform about new horizon snapshot each time a location change occurs and the HorizonEngine successfully updated it.
Important: This is a Public Preview API. It may be changed or removed at any time.
Parameters
listener
The listener to be registered.
Throws
if listener is already added.