public class BluetoothUtil extends Object
コンストラクタと説明 |
---|
BluetoothUtil() |
修飾子とタイプ | メソッドと説明 |
---|---|
static boolean |
isEnabled(android.content.Context context)
BluetoothがONであればtrue
|
static boolean |
isSupportedBluetooth(android.content.Context context)
Bluetoothに対応しているデバイスの場合trueを返す
|
static boolean |
isSupportedBluetoothLE(android.content.Context context)
BluetoothLEに対応しているデバイスの場合trueを返す
|
static boolean |
isSupportedBluetoothLeAPILevel()
BluetoothLEをサポートしている場合true
API18以上ならtrue
|
public static boolean isSupportedBluetoothLeAPILevel()
public static boolean isSupportedBluetoothLE(android.content.Context context)
context
- public static boolean isSupportedBluetooth(android.content.Context context)
context
- public static boolean isEnabled(android.content.Context context)
context
-