Text To Speech
Text to Speech plugin
联系我们?

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.
Ionic 文本转换语音Text To Speech插件的安装(Installation)
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More or Contact Us
Ionic 文本转换语音Text To Speech插件支持的平台(Supported Platforms)
- Android
- iOS
- Windows Phone 8
Ionic 文本转换语音Text To Speech插件的用法(Usage)
import { TextToSpeech } from '@ionic-native/text-to-speech/ngx';
constructor(private tts: TextToSpeech) { }
...
this.tts.speak('Hello World')
.then(() => console.log('Success'))
.catch((reason: any) => console.log(reason));