-
public class BluetoothGattProvider
-
-
Method Summary
Modifier and Type Method Description BluetoothGattgetBluetoothGatt()Provides most recent instance of the BluetoothGatt. voidupdateBluetoothGatt(@NonNull() BluetoothGatt bluetoothGatt)Updates GATT instance storage if it wasn't initialized previously. -
-
Method Detail
-
getBluetoothGatt
BluetoothGatt getBluetoothGatt()
Provides most recent instance of the BluetoothGatt. Keep in mind that the gatt may not be available, hence null will be returned.
-
updateBluetoothGatt
void updateBluetoothGatt(@NonNull() BluetoothGatt bluetoothGatt)
Updates GATT instance storage if it wasn't initialized previously.
-
-
-
-