如何从Flutter应用中打开语音测试设置?

问题描述 投票:0回答:1

我想从flutter应用程序中打开Text-To-Speech,>

我正在使用Android_intent软件包,

代码:-

AndroidIntent intent = AndroidIntent(
    action: 'android.settings.SETTINGS',
    componentName: "com.android.settings.TextToSpeechSettings"
);
await intent.launch();

我似乎找不到打开TTS设置的确切意图。

Android设定意图here

如果没有特定意图,那么如何从flutter应用程序中打开TTS设置?

我想从flutter应用程序中打开“文本转语音”,我使用的是Android_intent包,代码:-AndroidIntent intent = AndroidIntent(action:'android.settings.SETTINGS',...

android flutter android-intent settings text-to-speech
1个回答
0
投票
我找到了以下工作代码:-
© www.soinside.com 2019 - 2024. All rights reserved.