getInstalledVoices

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

Returns the list of VoiceEntry objects in InstalledVoicesCallback callback containing 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 callback containing info about voices installed on device. Callback will be called on provided executor or on main thread if null.

Parameters