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

## onRecordTransferStatusUpdateEvent

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

### Parameters

`(listener: Function)`

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

### Referenced Types

##### `interface` RecordTransferStatus

| Property | Type | Since | Description |
| --- | --- | --- | --- |
| `deviceId` | `string` | `1.0.0` | Device ID |
| `state` | `number` | `1.0.0` | Status: 0 Unknown, 1 Recording, 2 Paused, 3 Ended |
| `isStarting` | `boolean` | `1.0.0` | Whether starting |
| `isPausing` | `boolean` | `1.0.0` | Whether pausing |
| `isResuming` | `boolean` | `1.0.0` | Whether resuming |
| `isStoping` | `boolean` | `1.0.0` | Whether ending |


### Examples

#### Basic usage

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

wear.onRecordTransferStatusUpdateEvent((response) => {
  console.log('onRecordTransferStatusUpdateEvent', response.state);
});
```

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