复制 Markdown查看 MarkdownsendVoiceFile版本要求:@ray-js/lock-sdk≥1.2.0方法签名sendVoiceFile(file: VoiceFileItem)描述下发语音文件到设备参数参数类型必填说明›fileObject是方法 getVoiceFileList 返回的语音文件返回值类型:Promise<true>下发成功示例代码import { sendVoiceFile } from '@ray-js/lock-sdk'; const result = sendVoiceFile({ fileType: 1, fileKey: '123', version: '1.0.0' });上一页获取语音文件列表下一页监听语音文件下发进度