Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.