/// <summary> /// Creates instance of SpeechButtonPage /// </summary> public SpeechButtonPage() { InitializeComponent(); btnRecord.Content = AppResources.txtStartRecord; CreateSoundRecorder(); Unloaded += (sender, args) => _soundRecorder.Dispose(); }
public MainPage() { InitializeComponent(); statusProgress.Visibility = Visibility.Collapsed; btnRecord.Content = "Start"; CreateSoundRecorder(); Unloaded += (sender, args) => _soundRecorder.Dispose(); }
public MainPage() { InitializeComponent(); statusProgress.Visibility = Visibility.Collapsed; btnRecord.Content = "Start"; CreateSoundRecorder(); Unloaded += (sender, args) => _soundRecorder.Dispose(); _phoneNumberChooserTask = new PhoneNumberChooserTask(); _phoneNumberChooserTask.Completed += new EventHandler <PhoneNumberResult>(phoneNumberChooserTask_Completed); }
public MainPage() { InitializeComponent(); clientId = "your_att_app_key"; clientSecret = "your_att_secret_key"; uriString = "https://api.att.com"; statusProgress.Visibility = Visibility.Collapsed; btnRecord.Content = "Speak"; CreateSoundRecorder(); Unloaded += (sender, args) => _soundRecorder.Dispose(); _phoneNumberChooserTask = new PhoneNumberChooserTask(); _phoneNumberChooserTask.Completed += new EventHandler <PhoneNumberResult>(phoneNumberChooserTask_Completed); }