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

## offUploadProgressUpdate

> [VERSION] BizKit >= 3.0.0

> [PLATFORM] iOS

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

### Description

Listen for image/video upload progress changes; call offUploadProgressUpdate to unsubscribe

### Parameters

`(listener: Function)`

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

### 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: progress: 100 |


### Examples

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