best

fun best(languageTag: String, voices: List<SpeechVoice>): SpeechVoice?

The best voice for languageTag among voices.

An exact language-and-region match (en-US) beats a same-language match in another region (en-GB). Within each group, higher quality wins, then voices that work offline, then name order.

Return

null when no voice speaks the language.