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

## offBLEBigDataChannelUploadCloudProgress

> [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 large data upload progress to the cloud

### Parameters

`(listener: Function)`

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

### Referenced Types

##### `interface` ThingBLEBigDataProgressEvent

| Property | Type | Since | Description |
| --- | --- | --- | --- |
| `deviceId` | `string` | `3.0.0` | Large data channel transfer progress deviceId: Device ID |
| `progress` | `number` | `3.0.0` | progress: Transfer progress, range: 0 - 100 |


### Examples

#### Basic usage

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

const { offBLEBigDataChannelUploadCloudProgress } = device;

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