VoiceDownload

Types

Link copied to clipboard
interface AvailableVoicesCallback

Functions

Link copied to clipboard
open fun addVoiceInstallationListener(listener: VoiceInstallListener)
open fun addVoiceInstallationListener(listener: VoiceInstallListener, @Nullable executor: Executor)
Link copied to clipboard
open fun cancelDownload(entry: VoiceEntry)
Link copied to clipboard
open fun getAvailableVoiceList(@NonNull callback: VoiceDownload.AvailableVoicesCallback)
open fun getAvailableVoiceList(@NonNull callback: VoiceDownload.AvailableVoicesCallback, @Nullable executor: Executor)
Returns all available voices.
Link copied to clipboard
open fun installVoice(voiceEntry: VoiceEntry): Boolean
Requests the installation of voice package.
Link copied to clipboard
open fun onContextDestroy()
Link copied to clipboard
open fun removeVoiceInstallationListener(listener: VoiceInstallListener)
Link copied to clipboard
open fun uninstallVoice(voiceEntry: VoiceEntry): Boolean
Request the uninstallation of voice package.