---
name: "offBLEBigDataChannelDeviceToAppSuccess"
mode: "kit"
versionRequirements:
  - { name: "DeviceKit", version: "2.3.1" }
  - { name: "@ray-js/ray", version: "0.6.23" }
platform:
  - "iOS"
  - "Android"
async: true
---

## offBLEBigDataChannelDeviceToAppSuccess

> [VERSION] DeviceKit >= 2.3.1 | @ray-js/ray >= 0.6.23

> [PLATFORM] iOS, Android

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

### Description

Event for successful transfer of large data from the device to the app

### Parameters

`(listener: Function)`

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

### Referenced Types

##### `interface` BLEBigDataChannelDeviceToAppSuccessResponse

| Property | Type | Since | Description |
| --- | --- | --- | --- |
| `data` | `BLEBigDataChannelData[]` | `2.3.1` | data |

##### `type` BLEBigDataChannelData

| Property | Type | Since | Description |
| --- | --- | --- | --- |
| `dpsTime` | `string` | `2.3.1` | dpsTime |
| `dps` | `Record<string, Record<string, any>>` | `2.3.1` | dps |


### Examples

#### Basic usage

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

const { offBLEBigDataChannelDeviceToAppSuccess } = device;

offBLEBigDataChannelDeviceToAppSuccess((res) => {
  console.log('offBLEBigDataChannelDeviceToAppSuccess', res);
});
```
