onHorizonReset

abstract fun onHorizonReset(options: HorizonOptions)

Called whenever a horizon reset has occurred for a specific set of horizon options. The horizon is reset following a map update, a vehicle profile update, route update, or when the current input position does not belong to any of the existing horizon paths (for example, a jump to a new place).

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

Parameters

options

The horizon options for which to receive a horizon reset notification.