public interface PhyCallback
| Modifier and Type | Field and Description |
|---|---|
static int |
PHY_LE_1M
Bluetooth LE 1M PHY.
|
static int |
PHY_LE_2M
Bluetooth LE 2M PHY.
|
static int |
PHY_LE_CODED
Bluetooth LE Coded PHY.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onPhyChanged(android.bluetooth.BluetoothDevice device,
int txPhy,
int rxPhy)
Method called when the PHY value has changed or was read.
|
static final int PHY_LE_1M
static final int PHY_LE_2M
static final int PHY_LE_CODED
void onPhyChanged(@NonNull
android.bluetooth.BluetoothDevice device,
int txPhy,
int rxPhy)
device - the target device.txPhy - the transmitter PHY in use. One of PHY_LE_1M,
PHY_LE_2M, and PHY_LE_CODED.rxPhy - the receiver PHY in use. One of PHY_LE_1M,
PHY_LE_2M, and PHY_LE_CODED.