Skip to content

Instantly share code, notes, and snippets.

@icebeam7
Last active November 22, 2018 19:26
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/2c97b29f91546b8422b54343dc440885 to your computer and use it in GitHub Desktop.
Save icebeam7/2c97b29f91546b8422b54343dc440885 to your computer and use it in GitHub Desktop.
DemoTTS: PaginaTextoVoz.xaml.cs
using System;
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
using DemoTTS.Servicios;
namespace DemoTTS.Paginas
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class PaginaTextoVoz : ContentPage
{
public PaginaTextoVoz()
{
InitializeComponent();
}
private void btnHablar_Clicked(object sender, EventArgs e)
{
ServicioTTS.Speak(txtMensaje.Text);
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment