---
name: "offUploadProgressUpdate"
mode: "kit"
versionRequirements:
  - { name: "BizKit", version: "3.0.0" }
  - { name: "@ray-js/ray", version: "0.3.23" }
platform:
  - "iOS"
async: true
title: "offUploadProgressUpdate - Remove listener: Upload progress callback"
---

## offUploadProgressUpdate

> [VERSION] BizKit >= 3.0.0 | @ray-js/ray >= 0.3.23

> [PLATFORM] iOS

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

### Description

Listen for image or video upload progress updates; to stop listening, call offUploadProgressUpdate

### Parameters

`(listener: Function)`

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

### Referenced Types

##### `interface` ProgressEvent

| Property | Type | Since | Description |
| --- | --- | --- | --- |
| `filePath` | `string` | `3.0.0` | File path |
| `progress` | `number` | `3.0.0` | Upload progress percentage, range 0–100 Example return: progress: 100 |


### Examples

#### Demo

```tsx
import { onUploadProgressUpdate, offUploadProgressUpdate } from '@ray-js/ray'

const listener = function (res) { console.log(res) }
onUploadProgressUpdate(listener)
offUploadProgressUpdate(listener)
```
