sendVoiceFile

Requires:
@ray-js/lock-sdk≥1.2.0

Method signature
sendVoiceFile(file: )

Description

Deliver the voice file to the device

Parameters

ParameterTypeRequiredDescription
YesVoice file returned by the getVoiceFileList method

Return Value

Type: Promise<true>
Delivered successfully

Examples

import { sendVoiceFile } from '@ray-js/lock-sdk';
const result = sendVoiceFile({ fileType: 1, fileKey: '123', version: '1.0.0' });