Skip to main content

TextToSpeechStreamSession

@totemsdk/qvac


@totemsdk/qvac / TextToSpeechStreamSession

Interface: TextToSpeechStreamSession

Methods

[asyncIterator]()

[asyncIterator](): AsyncIterator<TextToSpeechStreamResponse>

Returns

AsyncIterator<TextToSpeechStreamResponse>


destroy()

destroy(): void

Returns

void


end()

end(): void

Returns

void


write()

write(textFragment): void

Parameters

textFragment

string | Uint8Array<ArrayBufferLike>

Returns

void