package io.trygvis.android.bt; import android.bluetooth.BluetoothGatt; import android.bluetooth.BluetoothGattCharacteristic; import android.bluetooth.BluetoothGattDescriptor; public class BtCallback { public final String name; public BtCallback(String name) { this.name = name; } public boolean onConnectionStateChange(BluetoothGatt gatt, int newState) { throw new NotOverriddenException(); } public boolean onServicesDiscovered(BluetoothGatt gatt) { throw new NotOverriddenException(); } public boolean onCharacteristicRead(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic) { throw new NotOverriddenException(); } public boolean onCharacteristicWrite(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic) { throw new NotOverriddenException(); } public boolean onCharacteristicChanged(BluetoothGatt gatt, BluetoothGattCharacteristic characteristic) { throw new NotOverriddenException(); } public boolean onDescriptorRead(BluetoothGatt gatt, BluetoothGattDescriptor descriptor) { throw new NotOverriddenException(); } public boolean onDescriptorWrite(BluetoothGatt gatt, BluetoothGattDescriptor descriptor) { throw new NotOverriddenException(); } public boolean onReliableWriteCompleted(BluetoothGatt gatt) { throw new NotOverriddenException(); } public boolean onReadRemoteRssi(BluetoothGatt gatt, int rssi) { throw new NotOverriddenException(); } public void onFailure() { throw new NotOverriddenException(); } }