get Installed Voices
open fun getInstalledVoices(@NonNull callback: VoiceManager.InstalledVoicesCallback)
Content copied to clipboard
Returns the list of VoiceEntry objects in InstalledVoicesCallback callback containing info about voices installed on device. Callback will be called on main thread.
Parameters
callback
open fun getInstalledVoices(@NonNull callback: VoiceManager.InstalledVoicesCallback, @Nullable executor: Executor)
Content copied to clipboard
Returns the list of VoiceEntry objects in InstalledVoicesCallback callback containing info about voices installed on device. Callback will be called on provided executor or on main thread if null.
Parameters
callback