Ejemplo n.º 1
0
        public static void Start(User u, SpeechStateCallbackDelegate del, Delegate networkDel)
        {
            switch (SpeechProvider)
            {
            case SpeechProviders.NativeSpeech:
                NativeSpeechHelper.Start(u, del, networkDel);
                break;

            case SpeechProviders.NuanceSpeech:
                NuanceSpeechHelper.Start(u, del, networkDel);
                break;
            }
        }
Ejemplo n.º 2
0
        public static void Stop(SpeechToTextCallbackDelegate del)
        {
            switch (SpeechProvider)
            {
            case SpeechProviders.NativeSpeech:
                NativeSpeechHelper.Stop(del);
                break;

            case SpeechProviders.NuanceSpeech:
                NuanceSpeechHelper.Stop(del);
                break;
            }
        }
Ejemplo n.º 3
0
        public static void Cancel(Delegate networkDel)
        {
            switch (SpeechProvider)
            {
            case SpeechProviders.NativeSpeech:
                NativeSpeechHelper.Cancel(networkDel);
                break;

            case SpeechProviders.NuanceSpeech:
                NuanceSpeechHelper.Cancel(networkDel);
                break;
            }
        }