updateNavigationSound static method
void
updateNavigationSound(
TTS instruction update request.
Requests the navigation service to immediately generate and deliver an updated
text-to-speech instruction to the onTextToSpeechInstruction callback. Use
this to manually trigger TTS updates outside the normal instruction update cycle.
Parameters
navigationListener: Handler for the navigation session.
See also:
- startNavigation - Register
onTextToSpeechInstructioncallback.
Implementation
static void updateNavigationSound(TaskHandler navigationListener) {
staticMethod(
'NavigationService',
'updateNavigationSound',
args: (navigationListener as TaskHandlerImpl).id,
);
}