Last updated:
0 purchases
plugin probe
1、返回结果:
返回值为1时 执⾏成功,已经执⾏执⾏成功过,重复执⾏;
返回值为0时 执⾏成功;
返回值为-1时 执⾏失败,其他失败;
返回值为-2时 执⾏失败,未初始化或初始化失败;
返回值为-3时 执⾏失败,参数异常
2、需要的权限:
1 android.permission.BLUETOOTH_CONNECT ⽤于获取蓝⽛相关信息
2 android.permission.BLUETOOTH
3 android.permission.FOREGROUND_SERVICE ⽤于开启前台服务,确保后台采集的可靠性
4 android.permission.INTERNET ⽤于访问⽹络上传采集数据
5 android.permission.ACCESS_NETWORK_STATE ⽤于⽹络信息的获取
6 android.permission.ACCESS_WIFI_STATE
7 android.permission.CHANGE_WIFI_STATE
8 android.permission.ACCESS_FINE_LOCATION ⽤于位置信息的获取
9 android.permission.ACCESS_COARSE_LOCATION
10 android.permission.ACCESS_BACKGROUND_LOCATION
11 android.permission.ACCESS_COARSE_LOCATION
12 android.permission.ACCESS_LOCATION_EXTRA_COMMANDS
13 android.permission.LOCAL_MAC_ADDRESS ⽤于设备信息的获取
14 android.permission.READ_PRIVILEGED_PHONE_STATE
15 android.permission.READ_PHONE_STATE
16 android.permission.PACKAGE_USAGE_STATS ⽤于APP使⽤信息的获取
17 ${applicationId}.permission.PROBES ⾃定义权限,SDK内部安全限制
3、使用PluginProbe.initProbe获取返回结果
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.