コード例 #1
0
        private void OnAudioReceived(IRobotCommandResponse getAudioResponse)
        {
            AudioFile audioFile = ((IGetAudioResponse)getAudioResponse).Data;
            string    base64    = audioFile?.Base64;

            _ = DetectIntent(base64);
        }
コード例 #2
0
 private void OnResponse(IRobotCommandResponse commandResponse)
 {
 }
コード例 #3
0
 /// <summary>
 /// Example Unregister Command callback
 /// </summary>
 /// <param name="response"></param>
 private void UnregisterCallback(IRobotCommandResponse response)
 {
     _misty.SkillLogger.Log($"InteractiveMistySkill : UnregisterCallback called");
 }
コード例 #4
0
 public void OnResponse(IRobotCommandResponse response)
 {
     Debug.WriteLine("Response: " + response.ResponseType.ToString());
 }
コード例 #5
0
ファイル: MapNav.cs プロジェクト: peterdrougge/.NET-SDK
 private void OnResponse(IRobotCommandResponse commandResponse)
 {
     //_skillHelper.LogMessage($"Command response status is {commandResponse.Status}.");
 }
コード例 #6
0
ファイル: MistySkill.cs プロジェクト: cbattlegear/MistyMiner
 public void OnResponse(IRobotCommandResponse response)
 {
     Debug.WriteLine("Response: " + response.ResponseType.ToString());
     _misty.SendDebugMessage("Response: " + response.ResponseType.ToString(), null);
 }
コード例 #7
0
 private void OnResponse(IRobotCommandResponse commandResponse)
 {
     //Debug.WriteLine(commandResponse.Status);
 }
コード例 #8
0
ファイル: MistySkill.cs プロジェクト: MistyCommunity/.NET-SDK
 public void OnResponse(IRobotCommandResponse response)
 {
 }
コード例 #9
0
ファイル: MovementHistory.cs プロジェクト: maclo4/AIMS
 private void DriveTrackResponse(IRobotCommandResponse commandResponse)
 {
     //Debug.WriteLine("Drive track resonse: " + commandResponse.Status);
 }
コード例 #10
0
 private void UnregisterCallback(IRobotCommandResponse response)
 {
     // Writes a message to the skill's log file.
     _misty.SkillLogger.Log($"InteractiveMistySkill : UnregisterCallback called");
 }