Skip to main content
Use this API to get the current state of the Bluetooth adapter, including whether it’s available and discovering devices.

Parameters

Success Callback

Code Example

Basic Usage

Check Before Operations

Status Display

my.openBluetoothAdapter

Initialize Bluetooth

my.onBluetoothAdapterStateChange

Listen for state changes