35 lines
744 B
C#
Raw Normal View History

2025-09-24 19:24:19 +08:00
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using UnityEngine;
/// <summary>
/// <20><><EFBFBD><EFBFBD>ת<EFBFBD><D7AA><EFBFBD><EFBFBD>
/// </summary>
public class STT : MonoBehaviour
{
/// <summary>
/// <20><><EFBFBD><EFBFBD>ʶ<EFBFBD><CAB6>api<70><69>ַ
/// </summary>
[SerializeField] protected string m_SpeechRecognizeURL = String.Empty;
/// <summary>
/// <20><><EFBFBD><EFBFBD><E3B7BD><EFBFBD><EFBFBD><EFBFBD>õ<EFBFBD>ʱ<EFBFBD><CAB1>
/// </summary>
[SerializeField] protected Stopwatch stopwatch = new Stopwatch();
/// <summary>
/// <20><><EFBFBD><EFBFBD>ʶ<EFBFBD><CAB6>
/// </summary>
public virtual void StartSpeechToText(Action<string> _callback)
{
}
/// <summary>
/// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʶ<EFBFBD><CAB6>
/// </summary>
public virtual void StopSpeechToText(Action<string> _callback)
{
}
}