get Installed Voices
open fun getInstalledVoices(@NonNull() callback: VoiceManager.InstalledVoicesCallback)
Content copied to clipboard
Returns the list of VoiceEntry objects in InstalledVoicesCallback callbackcontaining 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 callbackcontaining info about voices installed on device. Callback will be called on provided executoror on main thread if null.
Parameters
callback