Text to Speech
const onTextToSpeechCallback = (response: TextToSpeechContent, timestamp?: Date) => {
console.log(response, timestamp);
};
const request: TextToSpeechContent = {
content: 'Hello World',
language: 'en-US'
};
COBI.app.textToSpeech.write(request, onTextToSpeechCallback);const onTextToSpeechCallback = (response, timestamp) => {
console.log(response, timestamp);
};
const request = {
content: 'Hello World',
language: 'en-US'
};
COBI.app.textToSpeech.write(request, onTextToSpeechCallback);Last updated