Пример #1
0
        public MainPage()
        {
            InitializeComponent();

            CheckPermission();

            CrossTextToSpeech.Current.Speak(WelcomeEntry.Text);
            VoiceRecorder = DependencyService.Get <IVoiceRecorder>();
            SpeechService = new SpeechService(new AuthenticationService(Constants.BingSpeechApiKey));
        }
Пример #2
0
        protected async override void OnAppearing()
        {
            await SpeechService.InitAuth();

            base.OnAppearing();
        }