addOnLaneGuidanceUpdatedListener

abstract fun addOnLaneGuidanceUpdatedListener(listener: OnLaneGuidanceUpdateListener)

Adds an OnLaneGuidanceUpdateListener which will report new LaneGuidance every time a location change occurs and the GuidanceEngine successfully generates 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.