addIntersectionCalloutFromDescription

fun addIntersectionCalloutFromDescription(description: RoadsDescription, localizedContext: Context, results: MutableList<PositionedString>, calloutHistory: CalloutHistory? = null)

addIntersectionCalloutFromDescription adds a callout to the results list for the intersection described in the parameters. This will become more configurable e.g. whether to include the distance or not.

Parameters

description

The description of the intersection to callout

localizedContext

A context for obtaining localized strings

results

The list of callouts that is appended to

calloutHistory

An optional CalloutHistory to use so as to filter out recently played out callouts