public final class BluetoothUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static android.bluetooth.BluetoothDevice |
getBluetoothDevice(java.lang.String address)
Provides bluetooth device for specified MAC address.
|
static boolean |
isBluetoothEnabled()
Is bluetooth enabled.
|
static boolean |
isBluetoothLeSupported(android.content.Context context)
Provides information concerning Bluetooth Low Energy support.
|
static boolean |
refreshGattServer(android.bluetooth.BluetoothGatt gattServer)
Refreshs Gatt server.
|
public static boolean isBluetoothEnabled()
public static boolean isBluetoothLeSupported(android.content.Context context)
context - the contextpublic static android.bluetooth.BluetoothDevice getBluetoothDevice(java.lang.String address)
address - the addresspublic static boolean refreshGattServer(android.bluetooth.BluetoothGatt gattServer)
gattServer - the gatt server