Voice Manager
Manages voice operations.
Types
Link copied to clipboard
interface DefaultVoicesCallback
Link copied to clipboard
interface InstalledVoicesCallback
Functions
Link copied to clipboard
open fun getDefaultTtsLocale(@NonNull callback: VoiceManager.DefaultVoicesCallback, @Nullable executor: Executor)
Gets string representing default TTS locale asynchronously.
Link copied to clipboard
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.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the selected voice.