stopRecordTransfer
Requires:
WearKit≥1.0.0@ray-js/ray≥1.7.14
Platforms:
iOSAndroid
Method signature
stopRecordTransfer(params: )Description
Stop recording with transcription.
Parameters
| Property | Type | Required | Description | Minimum SDK versions |
|---|---|---|---|---|
deviceId | string | Yes | Device ID |
|
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 |
10041 | Operation error |
10045 | Already in stopped state |
10048 | Device is not recording |
10061 | Device error |