android_bluetooth
A clean Dart wrapper around Android's Bluetooth framework.
Status
Early scaffold with the first working adapter-level calls implemented.
Progress
This README is the working progress tracker for the package.
Reference inventory:
- Full Android framework API inventory: docs/android_bluetooth_api_surface.md
Implemented
xStandalone Flutter plugin package scaffoldxAndroid plugin wiringxDart entrypoint export surfacexAndroidBluetooth.isSupported()xAndroidBluetooth.getAdapterState()xAndroidBluetoothAdapterStateenum
Next Up
Adapter state change streamAdapter nameBonded devicesLocal adapter address behavior decision
Remaining Surface Areas
BluetoothManagerBluetoothAdapterBluetoothDeviceBluetoothGattBluetoothGattCallbackBluetoothGattServiceBluetoothGattCharacteristicBluetoothGattDescriptorBluetoothGattServerBluetoothGattServerCallbackBluetoothLeScannerScanCallbackScanResultScanRecordScanFilterScanSettingsBluetoothLeAdvertiserAdvertiseDataAdvertiseSettingsAdvertisingSetAdvertisingSetCallbackAdvertisingSetParametersPeriodicAdvertisingParametersBluetoothSocketBluetoothServerSocketProfile APIs such asBluetoothA2dp,BluetoothHeadset, andBluetoothLeAudioDeprecated-but-public APIs that we choose to carry forward
Current API
final supported = await AndroidBluetooth.isSupported();
final state = await AndroidBluetooth.getAdapterState();