//call to plugin to start recognizing speech input
 public void StartRecognizingSpeech()
 {
     if (canSearch)
     {
         canSearch = false;
         speechButtonAnim.Play();
         voiceController.GetSpeech();
     }
 }
Exemplo n.º 2
0
    /* bool VerifyList(List<string> list, string toCompare)
     * {
     *   //int i = 0;
     *   foreach (string compare in list)
     *   {
     *       //i++;
     *       if (compare.Equals(toCompare))
     *       {
     *           //img1.SetValue("", i);
     *           return true;
     *       }
     *   }
     *   return false;
     * }*/

    public void GetSpeech()
    {
        mic.SetActive(true);
        voiceController.GetSpeech();
    }
Exemplo n.º 3
0
 public void GetSpeech()
 {
     voiceController.GetSpeech();
 }
Exemplo n.º 4
0
 /// <summary>
 /// Orders the library to begin the recognition.
 /// </summary>
 public void StartListening()
 {
     voiceController.GetSpeech();
 }
Exemplo n.º 5
0
 public void GetSpeech()
 {
     myResponse = null;
     voiceController.GetSpeech();
 }