getVoices

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
fun getVoices(): Result<Set<Voice>, TextToSpeechEngineError>

Retrieves a set of available text to speech voices. The retrieved set can be filtered by voice properties (e.g. language, network usage) when needed.

Return

A set of Voices representing the available voices.