merge commit
This commit is contained in:
@@ -10,18 +10,18 @@ class TtsUtil {
|
||||
}
|
||||
|
||||
static Future<bool> start(bool isChinese) async {
|
||||
return await execute('start', {'isChinese': isChinese});
|
||||
return await execute('startTts', {'isChinese': isChinese});
|
||||
}
|
||||
|
||||
static Future<void> send(String text) async {
|
||||
await execute('send', {'text': text});
|
||||
await execute('sendTts', {'text': text});
|
||||
}
|
||||
|
||||
static Future<void> complete() async {
|
||||
await execute('complete');
|
||||
await execute('completeTts');
|
||||
}
|
||||
|
||||
static Future<void> stop() async {
|
||||
await execute('stop');
|
||||
await execute('stopTts');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user