getTranslateRecords(params: Object)
Requires:
AIKit≥0.0.1@ray-js/ray≥1.6.29
Platforms:
iOSAndroid
Description
Get AI translation record list
Parameters
| Property | Type | Required | Description |
|---|---|---|---|
deviceId | string | No | Device ID; omit to fetch all devices |
lastId | number | No | ID of the last record; omit or set to 0 for no limit |
pageSize | number | No | Page size; omit or set to 0 for no pagination (all) |
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 |
|---|---|---|
| List |
fail callback parameters
| Property | Type | Description |
|---|---|---|
errorMsg | string | Error message |
errorCode | string | number | Error code |
| Error extension |
Return Value
None