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

## offBLEScanBindDevice

> [VERSION] DeviceKit >= 3.0.0

> [PLATFORM] iOS, Android

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

### Description

Notification when a device is discovered

### Parameters

`(listener: Function)`

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

### Referenced Types

##### `interface` ThingBLEScanDeviceEvent

| Property | Type | Required | Since | Description |
| --- | --- | --- | --- | --- |
| `deviceId` | `string` | Yes | `3.0.0` | Discovered device ID |


### Examples

#### Demo

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