android_bluetooth 0.1.0 copy "android_bluetooth: ^0.1.0" to clipboard
android_bluetooth: ^0.1.0 copied to clipboard

PlatformAndroid

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()
  • AndroidBluetoothAdapterState enum

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, and BluetoothLeAudio
  • ❌ Deprecated-but-public APIs that we choose to carry forward

Current API #

final supported = await AndroidBluetooth.isSupported();
final state = await AndroidBluetooth.getAdapterState();
1
likes
120
points
12
downloads

Documentation

API reference

Publisher

verified publisherjamcorder.com

Weekly Downloads

Android Bluetooth wrapper for Dart on Android.

License

unknown (license)

Dependencies

flutter

More

Packages that depend on android_bluetooth

Packages that implement android_bluetooth