C# Class SpeechTranslator.MainPage

An empty page that can be used on its own or navigated to within a Frame.
Inheritance: Windows.UI.Xaml.Controls.Page
Afficher le fichier Open project: dxmakers/disrupt15

Méthodes publiques

Свойство Type Description
InputLang Language
OutputLang Language
clientSocket StreamSocket
en_lang Language
es_lang Language
synLangStr string

Méthodes publiques

Méthode Description
InitRecogAndSyn ( ) : void
Initializesynthesizer ( ) : Task
MainPage ( ) : System

Private Methods

Méthode Description
ConnectHost ( ) : System.Threading.Tasks.Task
ContinuousRecognitionSession_Completed ( SpeechContinuousRecognitionSession sender, SpeechContinuousRecognitionCompletedEventArgs args ) : void
ContinuousRecognitionSession_ResultGenerated ( SpeechContinuousRecognitionSession sender, SpeechContinuousRecognitionResultGeneratedEventArgs args ) : void
InitializeRecognizer ( Language recognizerLanguage ) : System.Threading.Tasks.Task
OnConnection ( StreamSocketListener sender, StreamSocketListenerConnectionReceivedEventArgs args ) : void
ReceivedMsgTextBox_TextChanged ( object sender, TextChangedEventArgs e ) : void
SendDataToHost ( string dataToBeSent ) : void
SpeechRecognizer_HypothesisGenerated ( SpeechRecognizer sender, SpeechRecognitionHypothesisGeneratedEventArgs args ) : void

While the user is speaking, update the textbox with the partial sentence of what's being said for user feedback.

btnClearText_Click ( object sender, RoutedEventArgs e ) : void
btnReConnect_Click ( object sender, RoutedEventArgs e ) : void
btnStartTalk_Click ( object sender, RoutedEventArgs e ) : void
countdownTimer_Tick ( object sender, object e ) : void
dictationTextBox_TextChanged ( object sender, TextChangedEventArgs e ) : void
fakeAudio ( ) : Task
openPrivacySettings_Click ( Windows sender, Windows args ) : void
startListener ( ) : void

Method Details

InitRecogAndSyn() public méthode

public InitRecogAndSyn ( ) : void
Résultat void

Initializesynthesizer() public méthode

public Initializesynthesizer ( ) : Task
Résultat Task

MainPage() public méthode

public MainPage ( ) : System
Résultat System

Property Details

InputLang public_oe static_oe property

public static Language InputLang
Résultat Language

OutputLang public_oe static_oe property

public static Language OutputLang
Résultat Language

clientSocket public_oe property

public StreamSocket clientSocket
Résultat StreamSocket

en_lang public_oe static_oe property

public static Language en_lang
Résultat Language

es_lang public_oe static_oe property

public static Language es_lang
Résultat Language

synLangStr public_oe static_oe property

public static string synLangStr
Résultat string