VoiceDownload

open class VoiceDownload : NativeMethodsReceiver

Types

AvailableVoicesCallback
Link copied to clipboard
interface AvailableVoicesCallback

Functions

addVoiceInstallationListener
Link copied to clipboard
open fun addVoiceInstallationListener(listener: VoiceInstallListener)
open fun addVoiceInstallationListener(listener: VoiceInstallListener, @Nullable executor: Executor)
cancelDownload
Link copied to clipboard
open fun cancelDownload(entry: VoiceEntry)
destroy
Link copied to clipboard
open fun destroy()
getAvailableVoiceList
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.
installVoice
Link copied to clipboard
open fun installVoice(voiceEntry: VoiceEntry): Boolean
Requests the installation of voice package.
removeVoiceInstallationListener
Link copied to clipboard
open fun removeVoiceInstallationListener(listener: VoiceInstallListener)
uninstallVoice
Link copied to clipboard
open fun uninstallVoice(voiceEntry: VoiceEntry): Boolean
Request the uninstallation of voice package.