|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public String onGetDefaultVoiceNameFor(String language, String country, String variant) { |
|
|
public String onGetDefaultVoiceNameFor(String language, String country, String variant) { |
|
|
final int result = onLoadLanguage(language, country, variant); |
|
|
|
|
|
|
|
|
final int result = onIsLanguageAvailable(language, country, variant); |
|
|
switch (result) { |
|
|
switch (result) { |
|
|
case TextToSpeech.LANG_MISSING_DATA: |
|
|
case TextToSpeech.LANG_MISSING_DATA: |
|
|
case TextToSpeech.LANG_NOT_SUPPORTED: |
|
|
case TextToSpeech.LANG_NOT_SUPPORTED: |