getNavigationInstructions

fun getNavigationInstructions(context: Context, includeStreetNames: Boolean = true): NavigationInstructions

Provides localized navigation instructions for this step

Parameters

context

The context for getting the localized instruction text. Context can be localized by helper method NavigationInstructionsHandler.getContextForLocale(locale, context)

includeStreetNames

Determines whether the instructions should include street names. Default is true