说明:1.Android5.1+才能使用可选参数:{@linkandroid.bluetooth.le.ScanSettings#SCAN_MODE_LOW_POWER}—低功耗模式(默认){@linkandroid.bluetooth.le.ScanSettings#SCAN_MODE_BALANCED}—平衡模式*{@linkandroid.bluetooth.le.ScanSettings#SCAN_MODE_LOW_LATENCY}—低延迟模式(高功耗,仅前台有效)
/privateintbleScanMode=0;