1 instantiation of Locale
Microsoft.Maui.Essentials (1)
TextToSpeech\TextToSpeech.uwp.cs (1)
18
Task.FromResult(SpeechSynthesizer.AllVoices.Select(v => new
Locale
(v.Language, null, v.DisplayName, v.Id)));
9 references to Locale
Microsoft.Maui.Essentials (9)
TextToSpeech\TextToSpeech.shared.cs (8)
18
/// <returns>A collection of <see cref="
Locale
"/> objects with languages supported by text-to-speech on this device.</returns>
19
Task<IEnumerable<
Locale
>> GetLocalesAsync();
40
/// <returns>A collection of <see cref="
Locale
"/> objects with languages supported by text-to-speech on this device.</returns>
41
public static Task<IEnumerable<
Locale
>> GetLocalesAsync() =>
153
public Task<IEnumerable<
Locale
>> GetLocalesAsync() =>
234
/// <remarks>The <see cref="
Locale
.Language"/> property should match a <see cref="
Locale
.Language"/> value returned by <see cref="ITextToSpeech.GetLocalesAsync"/>.</remarks>
235
public
Locale
? Locale { get; set; }
TextToSpeech\TextToSpeech.uwp.cs (1)
17
Task<IEnumerable<
Locale
>> PlatformGetLocalesAsync() =>