Module: BluetoothContext


  • BluetoothContext is an Observable that wraps the platform Bluetooth object.
  • BluetoothContext is a singleton that you can easily use it to fetch some shared data across different panels.
  • It has some observable properties: state, enabled, address, name, discoverable, discovering, numberOfPairedDevices, firstPairedDeviceName, hasPairedDevice.
  • It has two observable array: _pairedDevices, _remoteDevices. BluetoothContext only update state and does not involve in any UI logic.