Skip to content

Instantly share code, notes, and snippets.

@icebeam7
Created November 22, 2018 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icebeam7/99f1cad828d7a67b626ff7322418cbc9 to your computer and use it in GitHub Desktop.
Save icebeam7/99f1cad828d7a67b626ff7322418cbc9 to your computer and use it in GitHub Desktop.
DemoTTS: ServicioTTS.cs
using Xamarin.Forms;
using DemoTTS.Interfaces;
namespace DemoTTS.Servicios
{
public static class ServicioTTS
{
public static void Speak(string message)
{
var tts = DependencyService.Get<ITextToSpeech>();
tts.Speak(message);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment