getAvailableVoiceList

open fun getAvailableVoiceList(@NonNull() callback: VoiceDownload.AvailableVoicesCallback)

Returns all available voices. The callback will be called on main thread.

open fun getAvailableVoiceList(@NonNull() callback: VoiceDownload.AvailableVoicesCallback, @Nullable() executor: Executor)

Returns all available voices. The callback will be called on provided executor or on mainthread if null.