getRecordTransferRealTimeResult(params: Object)
Requires:
WearKit≥1.0.0@ray-js/ray≥1.7.14
Platforms:
iOSAndroid
Description
Get real-time transcription data.
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
fileId | string | No | File ID |
recordId | string | No | Real-time transcription record ID |
asrId | string | No | Query data with asrId less than or equal to the given value |
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 |
|---|---|---|
| Real-time transcription data list |
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 |