get Default Tts Locale
open fun getDefaultTtsLocale(@NonNull callback: VoiceManager.DefaultVoicesCallback)
Content copied to clipboard
Gets string representing default TTS locale asynchronously. Callback will be called on main thread. Value corresponds to string returned by toString Note: Empty string will be returned if Android API level is lower than 21 or there is no default locale for used TTS Engine
open fun getDefaultTtsLocale(@NonNull callback: VoiceManager.DefaultVoicesCallback, @Nullable executor: Executor)
Content copied to clipboard
Gets string representing default TTS locale asynchronously. Callback will be called on provided executor or on main thread if null. Value corresponds to string returned by toString Note: Empty string will be returned if Android API level is lower than 21 or there is no default locale for used TTS Engine