sendTtsEvent method

void sendTtsEvent(
  1. int requestId,
  2. TtsEvent event
)

Routes a TTS event from a speech engine to a client. event The update event from the text-to-speech engine indicating the status of this utterance.

Implementation

void sendTtsEvent(
  int requestId,
  TtsEvent event,
) {
  $js.chrome.ttsEngine.sendTtsEvent(
    requestId,
    event.toJS,
  );
}