---
name: "offBLEBigDataChannelDeviceToAppSuccess"
mode: "kit"
versionRequirements:
  - { name: "DeviceKit", version: "2.3.1" }
platform:
  - "iOS"
  - "Android"
async: true
---

## offBLEBigDataChannelDeviceToAppSuccess

> [VERSION] DeviceKit >= 2.3.1

> [PLATFORM] iOS, Android

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

### Description

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

### Parameters

`(listener: Function)`

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

### 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

#### Demo

```tsx
const listener = function (res) { console.log(res) }
ty.device.onBLEBigDataChannelDeviceToAppSuccess(listener)
ty.device.offBLEBigDataChannelDeviceToAppSuccess(listener)
```
