I would like to iterate through all voices that are installed on a device.
In the TextSoSpeech metadata I see that there's
namespace Android.Speech.Tts
{
public class TextToSpeech : Java.Lang.Object
{
[Obsolete("deprecated")]
public virtual ICollection<Voice> Voices { get; }
Even though it's obsolete, I would like to use "public virtual ICollection Voices { get; }".
I don't know any other way how to get the installed voices with Xamarin.
However, I've never iterated through an ICollection.
How would that be done?
I tried starting with
ICollection<Voice>nVoices = Android.Speech.Tts.TextToSpeech.
But ".Voices" is not a part of that namespace.