guoyu/Test/yuyin/uni_modules/xwq-speech-to-text/utssdk/app-ios/index.uts
2025-12-03 18:58:36 +08:00

28 lines
507 B
Plaintext

import { CallbackType, InitModelData, SpeechResultCallback, RedultType, DownloadCallback } from '../interface.uts';
/**
* 初始化模型
*/
export function initVoskModel(option : InitModelData, cb : (result : CallbackType) => void) {
}
/**
* 开始识别
*/
@UTSJS.keepAlive
export function startSpeechVoice(cb : SpeechResultCallback) {
}
/**
* 停止识别
*/
export function stopSpeechVoice() {
}
/**
* 下载模型
*/
export function downloadModel(url : string, cb : DownloadCallback) {
}