---
name: "SmartGroupModel.offBluetoothAdapterStateChange"
mode: "api"
versionRequirements:
  - { name: "@ray-js/panel-sdk", version: "1.5.0" }
---

## SmartGroupModel.offBluetoothAdapterStateChange

> [VERSION] @ray-js/panel-sdk >= 1.5.0

### 描述

取消监听蓝牙适配器状态变化事件

### 参数

`Params`

| 参数 | 类型 | 必填 | 描述 |
| --- | --- | --- | --- |
| `id` | `number` | 是 | onBluetoothAdapterStateChange 返回的监听器 ID |

### 返回值

无


### 示例代码

#### 示例

```typescript
const id = group.onBluetoothAdapterStateChange((data) => {
  console.log('蓝牙状态变化:', data.available ? '可用' : '不可用');
});
// 需要时取消
group.offBluetoothAdapterStateChange(id);
```
