updateNavigationSound static method

void updateNavigationSound(
  1. TaskHandler navigationListener
)

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:

Implementation

static void updateNavigationSound(TaskHandler navigationListener) {
  staticMethod(
    'NavigationService',
    'updateNavigationSound',
    args: (navigationListener as TaskHandlerImpl).id,
  );
}