Esempio n. 1
0
        /// <summary>
        /// Creates instance of SpeechButtonPage
        /// </summary>
        public SpeechButtonPage()
        {
            InitializeComponent();
            btnRecord.Content = AppResources.txtStartRecord;
            CreateSoundRecorder();

            Unloaded += (sender, args) => _soundRecorder.Dispose();
        }
Esempio n. 2
0
        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);
        }
Esempio n. 4
0
        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);
        }