bluetooth property

BrilliantDevice get bluetooth

Gets the connected Bluetooth device.

Throws: Exception: If not connected to a Frame device.

Implementation

BrilliantDevice get bluetooth {
  if (_connectedDevice == null) {
    throw Exception("Not connected to Frame device");
  }
  return _connectedDevice!;
}