getRecordTransferResultDetail(params: Object)
Requires:
WearKit≥1.0.0@ray-js/ray≥1.7.14
Platforms:
iOSAndroid
Description
Get recording transcription result detail.
Parameters
| Property | Type | Required | Description | WearKit Since |
|---|---|---|---|---|
recordId | string | No | Recording transcription ID | v1.6.7 |
amplitudeMaxCount | string | No | Maximum amplitude count | - |
complete | () => void | No | Completion callback (executed on both success and failure) | - |
success | (params: Object) => void | No | Callback on successful API call | - |
fail | (params: Object) => void | No | Failure callback | - |
success callback parameters
| Property | Type | Description | WearKit Since |
|---|---|---|---|
recordTransferId | number | Recording transcription ID (actually fileId) | - |
directoryId | number | Directory ID | - |
deviceUniqueId | string | Unique identifier of the recording file generated by the device | - |
name | string | File name | - |
recordTime | number | Recording time (timestamp, seconds) | - |
duration | number | Recording duration (milliseconds) | - |
recordType | number | Audio type 0-Call 1-Meeting 2-Face-to-face translation (Basic) 3-Face-to-face translation (Pro) | - |
audioFormat | number | Audio format | - |
deviceId | string | Device ID | - |
filePath | string | Recording file path | - |
wavFilePath | string | Recording WAV file path | - |
amplitudes | string | Amplitude string, separated by commas | - |
status | number | File sync status: 0 not uploaded, 1 uploading, 2 uploaded, 3 upload failed | - |
visit | number | Read status: 0 unread, 1 read, 2 revised-unread, 3 revised-read | - |
remove | boolean | Whether removed (moved to trash) | - |
storageKey | string | Cloud storage key | - |
transfer | number | Transcription status: 0 not transcribed, 1 transcribing, 2 transcribed, 3 transcription failed | - |
summary | number | * Summary status: 0 not summarized, 1 summarizing, 2 summary succeeded, 3 summary failed; if omitted, all statuses will be queried | v1.2.2 |
translateState | number | * Translation status: 0 unknown, 1 not translated, 2 translating, 3 translation succeeded, 4 translation failed | v1.4.0 |
source | number | Audio file source: 0 app, 1 device | - |
transferType | number | Transcription mode: 0 file transcription, 1 real-time transcription | - |
needTranslate | boolean | Whether translation is needed | - |
originalLanguage | string | Source language | - |
targetLanguage | string | Target language | - |
recordId | string | Real-time transcription record ID | - |
agentId | string | Real-time transcription agent ID | - |
cloudTranscription | boolean | Whether secondary transcription has been performed | v1.2.2 |
transcriptionStatus | number | 0: not transcribed, 1: partially transcribed, 2: fully transcribed (legacy data) | v1.6.0 |
cloudSyncStatus | number | UI-only status 0 Show no sync status 5 Audio uploading 10 Audio upload succeeded 15 Audio downloading 20 Audio download succeeded -10 Audio upload failed -20 Audio download failed | v1.6.10 |
isFromCloud | boolean | Whether from cloud sync | v1.6.10 |
noteFileConvertState | number | note file conversion status 2: conversion failed 1: converting 0: conversion succeeded/not required | v1.9.1 |
linkShared | number | Link sharing status: 0 not shared, 1 shared | v1.9.1 |
transcriptEdited | number | Whether the transcription has been edited: 0 = not edited, 1 = edited | v3.3.0 |
summaryEdited | number | Whether the summary has been edited: 0 = not edited, 1 = edited | v3.3.0 |
offlineUploadProgress | number | Offline file upload progress, default 0, range 0–100 | v1.9.1 |
offlineUploadStatus | number | Offline file upload status: -1 not uploaded, 0 pending, 1 uploading, 2 succeeded, 3 failed, 4 canceled | v1.9.1 |
tags | string[] | Tag list, e.g., ["Client visit","Class A client"] | v2.1.0 |
summaryImageStatus | number | Image summary status: 0 not generated, 1 generating, 2 generated successfully, 3 generation failed | v3.0.0 |
folderId | string | Folder ID | v3.3.2 |
recycleExpireAt | number | Recycle Bin expiration time (Unix seconds); 0 means not in the Recycle Bin. When querying folderIds=['RECYCLE_BIN'], results are returned in descending order by this field. Days remaining = ceil((recycleExpireAt - current timestamp (seconds)) / 86400) | v3.4.0 |
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 |