feat: support native tts engine on Android (#1387)

This commit is contained in:
Huang Xin 2025-06-12 23:56:14 +08:00 committed by GitHub
parent 28c6c1ec58
commit 658969e97a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
52 changed files with 931 additions and 755 deletions

View file

@ -306,54 +306,6 @@
"const": "deny-get-all-voices",
"markdownDescription": "Denies the get_all_voices command without any pre-configured scope."
},
{
"description": "Enables the get_granularities command without any pre-configured scope.",
"type": "string",
"const": "allow-get-granularities",
"markdownDescription": "Enables the get_granularities command without any pre-configured scope."
},
{
"description": "Denies the get_granularities command without any pre-configured scope.",
"type": "string",
"const": "deny-get-granularities",
"markdownDescription": "Denies the get_granularities command without any pre-configured scope."
},
{
"description": "Enables the get_speaking_lang command without any pre-configured scope.",
"type": "string",
"const": "allow-get-speaking-lang",
"markdownDescription": "Enables the get_speaking_lang command without any pre-configured scope."
},
{
"description": "Denies the get_speaking_lang command without any pre-configured scope.",
"type": "string",
"const": "deny-get-speaking-lang",
"markdownDescription": "Denies the get_speaking_lang command without any pre-configured scope."
},
{
"description": "Enables the get_voice_id command without any pre-configured scope.",
"type": "string",
"const": "allow-get-voice-id",
"markdownDescription": "Enables the get_voice_id command without any pre-configured scope."
},
{
"description": "Denies the get_voice_id command without any pre-configured scope.",
"type": "string",
"const": "deny-get-voice-id",
"markdownDescription": "Denies the get_voice_id command without any pre-configured scope."
},
{
"description": "Enables the get_voices command without any pre-configured scope.",
"type": "string",
"const": "allow-get-voices",
"markdownDescription": "Enables the get_voices command without any pre-configured scope."
},
{
"description": "Denies the get_voices command without any pre-configured scope.",
"type": "string",
"const": "deny-get-voices",
"markdownDescription": "Denies the get_voices command without any pre-configured scope."
},
{
"description": "Enables the init command without any pre-configured scope.",
"type": "string",
@ -378,6 +330,30 @@
"const": "deny-pause",
"markdownDescription": "Denies the pause command without any pre-configured scope."
},
{
"description": "Enables the registerListener command without any pre-configured scope.",
"type": "string",
"const": "allow-registerListener",
"markdownDescription": "Enables the registerListener command without any pre-configured scope."
},
{
"description": "Denies the registerListener command without any pre-configured scope.",
"type": "string",
"const": "deny-registerListener",
"markdownDescription": "Denies the registerListener command without any pre-configured scope."
},
{
"description": "Enables the remove_listener command without any pre-configured scope.",
"type": "string",
"const": "allow-remove-listener",
"markdownDescription": "Enables the remove_listener command without any pre-configured scope."
},
{
"description": "Denies the remove_listener command without any pre-configured scope.",
"type": "string",
"const": "deny-remove-listener",
"markdownDescription": "Denies the remove_listener command without any pre-configured scope."
},
{
"description": "Enables the resume command without any pre-configured scope.",
"type": "string",
@ -402,18 +378,6 @@
"const": "deny-set-pitch",
"markdownDescription": "Denies the set_pitch command without any pre-configured scope."
},
{
"description": "Enables the set_primary_lang command without any pre-configured scope.",
"type": "string",
"const": "allow-set-primary-lang",
"markdownDescription": "Enables the set_primary_lang command without any pre-configured scope."
},
{
"description": "Denies the set_primary_lang command without any pre-configured scope.",
"type": "string",
"const": "deny-set-primary-lang",
"markdownDescription": "Denies the set_primary_lang command without any pre-configured scope."
},
{
"description": "Enables the set_rate command without any pre-configured scope.",
"type": "string",
@ -463,10 +427,10 @@
"markdownDescription": "Denies the stop command without any pre-configured scope."
},
{
"description": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-init`\n- `allow-speak`\n- `allow-stop`\n- `allow-pause`\n- `allow-resume`\n- `allow-set-rate`\n- `allow-set-pitch`\n- `allow-set-voice`\n- `allow-set-primary-lang`\n- `allow-get-voices`\n- `allow-get-voice-id`\n- `allow-get-all-voices`\n- `allow-get-granularities`\n- `allow-get-speaking-lang`",
"description": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-init`\n- `allow-speak`\n- `allow-stop`\n- `allow-pause`\n- `allow-resume`\n- `allow-set-rate`\n- `allow-set-pitch`\n- `allow-set-voice`\n- `allow-get-all-voices`\n- `allow-registerListener`\n- `allow-remove-listener`",
"type": "string",
"const": "default",
"markdownDescription": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-init`\n- `allow-speak`\n- `allow-stop`\n- `allow-pause`\n- `allow-resume`\n- `allow-set-rate`\n- `allow-set-pitch`\n- `allow-set-voice`\n- `allow-set-primary-lang`\n- `allow-get-voices`\n- `allow-get-voice-id`\n- `allow-get-all-voices`\n- `allow-get-granularities`\n- `allow-get-speaking-lang`"
"markdownDescription": "Default permissions for the plugin\n#### This default permission set includes:\n\n- `allow-init`\n- `allow-speak`\n- `allow-stop`\n- `allow-pause`\n- `allow-resume`\n- `allow-set-rate`\n- `allow-set-pitch`\n- `allow-set-voice`\n- `allow-get-all-voices`\n- `allow-registerListener`\n- `allow-remove-listener`"
}
]
}