private void OnAudioReceived(IRobotCommandResponse getAudioResponse)
        {
            AudioFile audioFile = ((IGetAudioResponse)getAudioResponse).Data;
            string    base64    = audioFile?.Base64;

            _ = DetectIntent(base64);
        }
Esempio n. 2
0
 private void OnResponse(IRobotCommandResponse commandResponse)
 {
 }
 /// <summary>
 /// Example Unregister Command callback
 /// </summary>
 /// <param name="response"></param>
 private void UnregisterCallback(IRobotCommandResponse response)
 {
     _misty.SkillLogger.Log($"InteractiveMistySkill : UnregisterCallback called");
 }
 public void OnResponse(IRobotCommandResponse response)
 {
     Debug.WriteLine("Response: " + response.ResponseType.ToString());
 }
Esempio n. 5
0
 private void OnResponse(IRobotCommandResponse commandResponse)
 {
     //_skillHelper.LogMessage($"Command response status is {commandResponse.Status}.");
 }
Esempio n. 6
0
 public void OnResponse(IRobotCommandResponse response)
 {
     Debug.WriteLine("Response: " + response.ResponseType.ToString());
     _misty.SendDebugMessage("Response: " + response.ResponseType.ToString(), null);
 }
Esempio n. 7
0
 private void OnResponse(IRobotCommandResponse commandResponse)
 {
     //Debug.WriteLine(commandResponse.Status);
 }
Esempio n. 8
0
 public void OnResponse(IRobotCommandResponse response)
 {
 }
Esempio n. 9
0
 private void DriveTrackResponse(IRobotCommandResponse commandResponse)
 {
     //Debug.WriteLine("Drive track resonse: " + commandResponse.Status);
 }
 private void UnregisterCallback(IRobotCommandResponse response)
 {
     // Writes a message to the skill's log file.
     _misty.SkillLogger.Log($"InteractiveMistySkill : UnregisterCallback called");
 }