Voice Manager
open class VoiceManager
Content copied to clipboard
Manages voice operations.
Types
DefaultVoicesCallback
Link copied to clipboard
interface DefaultVoicesCallback
Content copied to clipboard
InstalledVoicesCallback
Link copied to clipboard
interface InstalledVoicesCallback
Content copied to clipboard
Functions
getDefaultTtsLocale
Link copied to clipboard
open fun getDefaultTtsLocale(@NonNull() callback: VoiceManager.DefaultVoicesCallback)
Content copied to clipboard
open fun getDefaultTtsLocale(@NonNull() callback: VoiceManager.DefaultVoicesCallback, @Nullable() executor: Executor)
Content copied to clipboard
getInstalledVoices
Link copied to clipboard
open fun getInstalledVoices(@NonNull() callback: VoiceManager.InstalledVoicesCallback)
Content copied to clipboard
Returns the list of VoiceEntry objects in InstalledVoicesCallback callbackcontaining info about voices installed on device.
open fun getInstalledVoices(@NonNull() callback: VoiceManager.InstalledVoicesCallback, @Nullable() executor: Executor)
Content copied to clipboard
Returns the list of VoiceEntry objects in InstalledVoicesCallback callbackcontaining info about voices installed on device.
getVoice
Link copied to clipboard
setVoice
Link copied to clipboard