getRecordTransferProcessStatus(params: Object)
Requires:
WearKit≥1.0.0@ray-js/ray≥1.7.14
Platforms:
iOSAndroid
Description
Transcription status query.
Parameters
| Property | Type | Required | Description | WearKit Since |
|---|---|---|---|---|
deviceId | string | Yes | Device ID | - |
fileIds | string[] | Yes | File ID list | - |
taskType | number | Yes | Task type: 0 transcription, 1 summary, 2 translation | v1.4.0 |
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 |
|---|---|---|---|
success | string[] | List of file IDs with successful transcription | - |
fail | string[] | List of file IDs with failed transcription | - |
summarySuccess | string[] | List of file IDs with successful summary | v1.2.2 |
summaryFail | string[] | List of file IDs with failed summary | v1.2.2 |
translateSuccess | string[] | List of file IDs with successful translation | v1.4.0 |
translateFail | string[] | List of file IDs with failed translation | v1.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 |