Esempio n. 1
0
        public override void OnRequestPermissionsResult(int requestCode, string[] permissions, [GeneratedEnum] Permission[] grantResults)
        {
            base.OnRequestPermissionsResult(requestCode, permissions, grantResults);

            SpeechFactory.ConfigureNativePlatformBindingWithDefaultCertificate();
            factory = SpeechFactory.FromSubscription(ApiKeys.SpeechApiKey, ApiKeys.ServiceRegion);

            ListenForSpeech();
        }