From 3e619a735e63a1222e71060d9e65b354a156b158 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Wed, 28 Jan 2015 23:45:38 +0100 Subject: o Major refactoring on the BtPromise, mainly internal. Renaming BtPromise to BtSequence and BtSequencer. --- .../main/java/android/bluetooth/BluetoothGatt.java | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 trygvis-io-bt-stubs/src/main/java/android/bluetooth/BluetoothGatt.java (limited to 'trygvis-io-bt-stubs/src/main/java/android/bluetooth/BluetoothGatt.java') diff --git a/trygvis-io-bt-stubs/src/main/java/android/bluetooth/BluetoothGatt.java b/trygvis-io-bt-stubs/src/main/java/android/bluetooth/BluetoothGatt.java new file mode 100644 index 0000000..13b33ed --- /dev/null +++ b/trygvis-io-bt-stubs/src/main/java/android/bluetooth/BluetoothGatt.java @@ -0,0 +1,32 @@ +package android.bluetooth; + +import java.util.List; +import java.util.UUID; + +public class BluetoothGatt { + public static final int GATT_SUCCESS = 1; + public static final int STATE_CONNECTED = 2; + + public boolean discoverServices() { + return false; + } + + public List getServices() { + return null; + } + + public BluetoothGattService getService(UUID uuid) { + return null; + } + + public boolean writeCharacteristic(BluetoothGattCharacteristic characteristic) { + return false; + } + + public void setCharacteristicNotification(BluetoothGattCharacteristic characteristic, boolean b) { + } + + public boolean writeDescriptor(BluetoothGattDescriptor descriptor) { + return false; + } +} -- cgit v1.2.3