MCPcopy Create free account
hub / github.com/XCSoar/XCSoar / BluetoothServerPort

Method BluetoothServerPort

android/src/BluetoothServerPort.java:51–56  ·  view source on GitHub ↗
(BluetoothAdapter adapter, UUID uuid)

Source from the content-addressed store, hash-verified

49 private final Thread thread = new Thread(this, "Bluetooth server");
50
51 BluetoothServerPort(BluetoothAdapter adapter, UUID uuid)
52 throws IOException {
53 serverSocket = adapter.listenUsingRfcommWithServiceRecord("XCSoar", uuid);
54
55 thread.start();
56 }
57
58 private synchronized BluetoothServerSocket stealServerSocket() {
59 BluetoothServerSocket s = serverSocket;

Callers

nothing calls this directly

Calls 1

startMethod · 0.80

Tested by

no test coverage detected