Код: Выделить всё
public void onCharacteristicChanged (BluetoothGatt gatt,
BluetoothGattCharacteristic characteristic,
byte[] value) {
}
Код: Выделить всё
override fun onCharacteristicChanged(gatt: BluetoothGatt,
characteristic: BluetoothGattCharacteristic
) {
}
Есть ли способ использовать API новой версии, но заставить устройства работать нормально, как показано ниже Android 12?
Подробнее здесь: https://stackoverflow.com/questions/756 ... -12-device
Мобильная версия