ITextToSpeech.GetLocalesAsync Method

Definition

Gets a list of languages supported by text-to-speech.

public:
 System::Threading::Tasks::Task<System::Collections::Generic::IEnumerable<Microsoft::Maui::Media::Locale ^> ^> ^ GetLocalesAsync();
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Maui.Media.Locale>> GetLocalesAsync ();
abstract member GetLocalesAsync : unit -> System.Threading.Tasks.Task<seq<Microsoft.Maui.Media.Locale>>
Public Function GetLocalesAsync () As Task(Of IEnumerable(Of Locale))

Returns

A collection of Locale objects with languages supported by text-to-speech on this device.

Applies to