# BluetoothAdapter

`import { BluetoothAdapter } from "destack:device/binding";`

Bluetooth adapter.

```ds title="BluetoothAdapter"
export struct BluetoothAdapter {
    id: string;
    name: string;
    isPowered: boolean;
    isScanning: boolean;
}
```

[language/library/src/device/binding/bluetooth.ds:87:96](https://github.com/destack-sh/destack/blob/main/language/library/src/device/binding/bluetooth.ds#L87-L96)

## Members

### `id: string`

Stable adapter identifier.

### `name: string`

Host-visible adapter name.

### `isPowered: boolean`

Whether the adapter is powered.

### `isScanning: boolean`

Whether the adapter is currently scanning when known.
