/// <summary> /// Text-to-speech. /// </summary> /// <param name="text">Text.</param> /// <returns>Task.</returns> public async Task Speak(string text) { _speechCancellationSource = new CancellationTokenSource(); var options = await SpeechController.GetSettings(); await TextToSpeech.SpeakAsync(text, options, _speechCancellationSource.Token); }