getStreamingAudio method

  1. @override
Stream<TextToSpeechResponseUpdate> getStreamingAudio(
  1. String text, {
  2. TextToSpeechOptions? options,
  3. CancellationToken? cancellationToken,
})
override

Synthesizes text into audio and returns a stream of response updates.

Implementation

@override
Stream<TextToSpeechResponseUpdate> getStreamingAudio(
  String text, {
  TextToSpeechOptions? options,
  CancellationToken? cancellationToken,
}) =>
    innerClient.getStreamingAudio(
      text,
      options: options,
      cancellationToken: cancellationToken,
    );