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