Package | Description |
---|---|
ej.bluetooth |
Contains Bluetooth classes.
|
ej.bluetooth.callbacks |
Contains interfaces for Bluetooth callbacks.
|
Modifier and Type | Method and Description |
---|---|
static BluetoothAdapter |
BluetoothAdapter.getDefaultAdapter()
Returns the default adapter of the system.
|
Modifier and Type | Method and Description |
---|---|
void |
AdvertisementCallbacks.onAdvertisementCompleted(BluetoothAdapter adapter)
Called when an ongoing advertisement is completed.
|
void |
ScanCallbacks.onScanCompleted(BluetoothAdapter adapter)
Called when an ongoing scan is completed.
|
void |
ScanCallbacks.onScanResult(BluetoothAdapter adapter,
BluetoothDevice device,
byte[] payload,
int rssi)
Called when a advertisement or a scan response is received.
|