public void StopListening()
 {
     try
     {
         Debug.Log("StopListening");
         apiAiUnity.StopListening();
     } catch (Exception ex)
     {
         Debug.LogException(ex);
     }
 }
 // Called by button
 // Call by SPACE key
 public void StopListening()
 {
     // todo : hide visual feedback on listening to voice
     try
     {
         Debug.Log("StopListening");
         apiAiUnity.StopListening();
     } catch (Exception ex)
     {
         Debug.LogException(ex);
     }
 }
Esempio n. 3
0
    public void StopListening()
    {
        try
        {
            Debug.Log("[xxxxxxxxxxxxxxxxxxxxxxx]StopListening");

            if (answerTextField != null)
            {
                answerTextField.text = "";
            }
            apiAiUnity.StopListening();
        } catch (Exception ex)
        {
            Debug.LogException(ex);
        }
    }