android_bluetooth 0.1.0
android_bluetooth: ^0.1.0 copied to clipboard
Android Bluetooth wrapper for Dart on Android.
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 #
- ✅ Standalone Flutter plugin package scaffold
- ✅ Android plugin wiring
- ✅ Dart entrypoint export surface
- ✅
AndroidBluetooth.isSupported() - ✅
AndroidBluetooth.getAdapterState() - ✅
AndroidBluetoothAdapterStateenum
Next Up #
- ❌ Adapter state change stream
- ❌ Adapter name
- ❌ Bonded devices
- ❌ Local adapter address behavior decision
Remaining Surface Areas #
- ❌
BluetoothManager - ❌
BluetoothAdapter - ❌
BluetoothDevice - ❌
BluetoothGatt - ❌
BluetoothGattCallback - ❌
BluetoothGattService - ❌
BluetoothGattCharacteristic - ❌
BluetoothGattDescriptor - ❌
BluetoothGattServer - ❌
BluetoothGattServerCallback - ❌
BluetoothLeScanner - ❌
ScanCallback - ❌
ScanResult - ❌
ScanRecord - ❌
ScanFilter - ❌
ScanSettings - ❌
BluetoothLeAdvertiser - ❌
AdvertiseData - ❌
AdvertiseSettings - ❌
AdvertisingSet - ❌
AdvertisingSetCallback - ❌
AdvertisingSetParameters - ❌
PeriodicAdvertisingParameters - ❌
BluetoothSocket - ❌
BluetoothServerSocket - ❌ Profile APIs such as
BluetoothA2dp,BluetoothHeadset, andBluetoothLeAudio - ❌ Deprecated-but-public APIs that we choose to carry forward
Current API #
final supported = await AndroidBluetooth.isSupported();
final state = await AndroidBluetooth.getAdapterState();