-
public class BluetoothPermissionUtil
-
-
Field Summary
Fields Modifier and Type Field Description public final static StringBLUETOOTHpublic final static StringBLUETOOTH_ADMINpublic final static StringACCESS_FINE_LOCATIONpublic final static StringBLUETOOTH_SCANpublic final static StringBLUETOOTH_CONNECTpublic final static StringBLUETOOTH_ADVERTISE
-
Method Summary
Modifier and Type Method Description static booleanisBluetoothOpened()static booleancheckSelfPermission(Context context, String permission)static voidputBluetoothPermissionLogStat(Context context, Map<String, Object> params)-
-
Method Detail
-
isBluetoothOpened
static boolean isBluetoothOpened()
-
checkSelfPermission
static boolean checkSelfPermission(Context context, String permission)
-
putBluetoothPermissionLogStat
static void putBluetoothPermissionLogStat(Context context, Map<String, Object> params)
-
-
-
-