---
name: "offRecordTransferFinishEvent"
mode: "kit"
versionRequirements:
  - { name: "WearKit", version: "1.0.0" }
  - { name: "@ray-js/ray", version: "1.7.14" }
platform:
  - "iOS"
  - "Android"
async: true
title: "wear.offRecordTransferFinishEvent"
---

## offRecordTransferFinishEvent

> [VERSION] WearKit >= 1.0.0 | @ray-js/ray >= 1.7.14

> [PLATFORM] iOS, Android

> ⚡ **Supports Promise** — Returns a Promise when success / fail / complete callbacks are omitted.

### Description

Recording transcription finish error callback.

### Parameters

`(listener: Function)`

| Parameter | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `listener` | `(params: RecordTransferFinishError) => void` | Yes | - |  |

### Referenced Types

##### `interface` RecordTransferFinishError

| Property | Type | Since | Description |
| --- | --- | --- | --- |
| `deviceId` | `string` | `1.0.0` | Device ID |
| `code` | `number` | `1.0.0` | Error code |
| `message` | `string` | `1.0.0` | Error message |


### Examples

#### Demo

```tsx
import { wear } from '@ray-js/ray'

const listener = function (res) { console.log(res) }
wear.onRecordTransferFinishEvent(listener)
wear.offRecordTransferFinishEvent(listener)
```

> See Also：[https://developer.tuya.com/](https://developer.tuya.com/)
