Home > @magiclane/maps-sdk > NavigationService > updateNavigationSound

NavigationService.updateNavigationSound() method

Update navigation sound instruction. Requests the navigation service to immediately generate and deliver an updated text-to-speech instruction to the onTextToSpeechInstruction callback.

Signature:

static updateNavigationSound(navigationListener: any): void;

Parameters

Parameter

Type

Description

navigationListener

any

Navigation listener used to identify the navigation session.

Returns:

void

Exceptions

An exception if it fails.