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

## offRecordTransferRealTimeRecognizeStatusUpdateEvent

> [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 real-time transcription status change event.

### Parameters

`(listener: Function)`

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

### Referenced Types

##### `interface` RecordTransferRealTimeRecognizeStatus

| Property | Type | Since | Description |
| --- | --- | --- | --- |
| `deviceId` | `string` | `1.0.0` | Device ID |
| `recordId` | `string` | `1.0.0` | Real-time transcription record ID |
| `requestId` | `string` | `1.0.0` | Real-time transcription request ID |
| `asrId` | `number` | `1.0.0` | Real-time transcription asrId |
| `channel` | `number` | `1.0.0` | Audio channel |
| `phase` | `number` | `1.0.0` | Stage: 0.Task 1.Recording 2.Send data 3.Receive data 4.ASR 5.Text 6.Skill 7.TTS |
| `status` | `number` | `1.0.0` | Stage status: 0 not started, 1 in progress, 2 ended, 3 canceled |
| `text` | `string` | `1.0.0` | Text |
| `translateText` | `string` | `1.6.23` | Translated text; only included for 4-1 (send asr) |
| `translateStatus` | `number` | `1.6.23` | Translation status |
| `beginOffset` | `number` | `1.0.0` | Start time, in milliseconds |
| `endOffset` | `number` | `1.0.0` | End time, in milliseconds |
| `errorCode` | `number` | `1.0.0` | Error code |
| `errorMessage` | `string` | `1.0.0` | Error message |


### Examples

#### Demo

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

const listener = function (res) { console.log(res) }
wear.onRecordTransferRealTimeRecognizeStatusUpdateEvent(listener)
wear.offRecordTransferRealTimeRecognizeStatusUpdateEvent(listener)
```

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