getInstalledVoices

open fun getInstalledVoices(@NonNull() callback: VoiceManager.InstalledVoicesCallback)

Returns the list of VoiceEntry objects in InstalledVoicesCallback callbackcontaining info about voices installed on device. Callback will be called on main thread.

Parameters

open fun getInstalledVoices(@NonNull() callback: VoiceManager.InstalledVoicesCallback, @Nullable() executor: Executor)

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