updateRecordTransferResult(params: Object)
Requires:
WearKit≥1.0.0@ray-js/ray≥1.7.14
Platforms:
iOSAndroid
Description
Update recording transcription result.
Parameters
| Property | Type | Required | Description | WearKit Since |
|---|---|---|---|---|
recordTransferId | number | Yes | Recording transcription ID | - |
directoryId | string | No | Folder ID; if omitted, no update | - |
name | string | No | File name; omit to keep unchanged | - |
fileName | string | No | Recording filename; if omitted, no update | - |
wavFileName | string | No | Recording WAV filename; if omitted, no update | - |
amplitudes | string | No | Amplitude string, separated by commas; if omitted, no update | - |
status | string | No | File sync status: 0 not uploaded, 1 uploading, 2 uploaded, 3 upload failed; if omitted, no update | - |
visit | string | No | Read status: 0 unread, 1 read, 2 revised-read, 3 revised-unread | - |
remove | string | No | Whether removed (moved to trash); omit to keep unchanged | - |
storageKey | string | No | Cloud storage key; if omitted, no update | - |
transfer | string | No | Transcription status: 0 not transcribed, 1 transcribing, 2 transcribed, 3 transcription failed; if omitted, no update | - |
tags | string[] | No | Tag list, e.g., ["Client visit","Class A client"] | v2.1.0 |
complete | () => void | No | Completion callback (executed on both success and failure) | - |
success | () => void | No | Callback on successful API call | - |
fail | (params: Object) => void | No | Failure callback | - |
fail callback parameters
| Property | Type | Description |
|---|---|---|
errorMsg | string | Error message |
errorCode | string | number | Error code |
| Error extension |
Return Value
None
Error Code
| Error Code | Error Message |
|---|---|
10001 | Internal error |
10012 | Record not found |