ElectronBluetoothPairingResponse
Unofficial
Response returned to the Session.setBluetoothPairingHandler callback to resolve a Bluetooth pairing request.
Import:
import type { ElectronBluetoothPairingResponse } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface ElectronBluetoothPairingResponseProperties
| Property | Type | Description | |
|---|---|---|---|
| confirmed | boolean | Whether the pairing is confirmed. Pass false when the dialog is canceled; when pairingKind is providePin, pass true when a value is provided. | |
| pin? | null | string | When pairingKind is providePin, the required pin for the Bluetooth device. |