跳过导航链接
A B C D E G H I M O P R S T U W 

A

accuracy - 类 中的变量com.tool.bluetooth.detector.entity.IBeacon
这个数字是估计这个 iBeacon 离米有多远的估计值。
asHex(byte[]) - 类 中的静态方法com.tool.bluetooth.detector.entity.BeaconDevice
将字节数组转换为十六进制字符串

B

BeaconDevice - com.tool.bluetooth.detector.entity中的类
================================================== 存放被扫描到的蓝牙设备的原始信息及附加信息 ==================================================
BeaconDevice(BluetoothDevice, int, byte[], long) - 类 的构造器com.tool.bluetooth.detector.entity.BeaconDevice
 
BluetoothDetector - com.tool.bluetooth.detector中的类
================================================== Android Bluetooth 4.0 Development Kit
BluetoothDetectorCallBack - com.tool.bluetooth.detector中的接口
Callback interface used to deliver LE scan results.
BluetoothDetectorHandler - com.tool.bluetooth.detector中的接口
 
BluetoothFilter - com.tool.bluetooth.detector.config中的类
参数配置
BluetoothFilter(BluetoothFilter.Builder) - 类 的构造器com.tool.bluetooth.detector.config.BluetoothFilter
 
BluetoothFilter.Builder - com.tool.bluetooth.detector.config中的类
 
BluetoothJellyBean - com.tool.bluetooth.detector.core.version中的类
Android 4.3 Jelly Bean
BluetoothJellyBean() - 类 的构造器com.tool.bluetooth.detector.core.version.BluetoothJellyBean
 
BluetoothLollipop - com.tool.bluetooth.detector.core.version中的类
Android 5.0 Lollipop
BluetoothLollipop() - 类 的构造器com.tool.bluetooth.detector.core.version.BluetoothLollipop
 
BluetoothMarshmallow - com.tool.bluetooth.detector.core.version中的类
Android 6.0 Marshmallow 需要申请地理位置权限
BluetoothMarshmallow() - 类 的构造器com.tool.bluetooth.detector.core.version.BluetoothMarshmallow
 
BluetoothNougat - com.tool.bluetooth.detector.core.version中的类
Android 7.0 Nougat 需要检测设备是否打开位置信息
BluetoothNougat() - 类 的构造器com.tool.bluetooth.detector.core.version.BluetoothNougat
 
BluetoothReceiver - com.tool.bluetooth.detector.receiver中的类
监听蓝牙状态接收器 IntentFilter intentFilter = new IntentFilter(); intentFilter.addAction(BluetoothAdapter.ACTION_STATE_CHANGED); registerReceiver(new BluetoothReceiver(), intentFilter);
BluetoothReceiver() - 类 的构造器com.tool.bluetooth.detector.receiver.BluetoothReceiver
 
BluetoothScanner - com.tool.bluetooth.detector.core中的类
 
BluetoothScanner() - 类 的构造器com.tool.bluetooth.detector.core.BluetoothScanner
 
BluetoothStatusListener - com.tool.bluetooth.detector中的接口
 
BluetoothStatusListener.DeviceStatus - com.tool.bluetooth.detector中的注释类型
 
BluetoothStatusListener.ScanStatus - com.tool.bluetooth.detector中的注释类型
 
BluetoothUtils - com.tool.bluetooth.detector.utils中的类
 
BluetoothUtils() - 类 的构造器com.tool.bluetooth.detector.utils.BluetoothUtils
 
build() - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter.Builder
 
builder() - 类 中的静态方法com.tool.bluetooth.detector.config.BluetoothFilter
 

C

calculateAccuracy(int, double) - 类 中的静态方法com.tool.bluetooth.detector.entity.IBeacon
 
calculateProximity(double) - 类 中的静态方法com.tool.bluetooth.detector.entity.IBeacon
 
closeBluetooth() - 类 中的静态方法com.tool.bluetooth.detector.utils.BluetoothUtils
关闭蓝牙
com.tool.bluetooth.detector - 程序包 com.tool.bluetooth.detector
 
com.tool.bluetooth.detector.config - 程序包 com.tool.bluetooth.detector.config
 
com.tool.bluetooth.detector.core - 程序包 com.tool.bluetooth.detector.core
 
com.tool.bluetooth.detector.core.version - 程序包 com.tool.bluetooth.detector.core.version
 
com.tool.bluetooth.detector.entity - 程序包 com.tool.bluetooth.detector.entity
 
com.tool.bluetooth.detector.receiver - 程序包 com.tool.bluetooth.detector.receiver
 
com.tool.bluetooth.detector.utils - 程序包 com.tool.bluetooth.detector.utils
 
createIBeacon(byte[], int) - 类 中的静态方法com.tool.bluetooth.detector.entity.IBeacon
创建一个 iBeacon
CREATOR - 类 中的静态变量com.tool.bluetooth.detector.entity.BeaconDevice
 
CREATOR - 类 中的静态变量com.tool.bluetooth.detector.entity.IBeacon
 

D

DateUtil - com.tool.bluetooth.detector.utils中的类
Date Util
debug(boolean) - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter.Builder
 
describeContents() - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
describeContents() - 类 中的方法com.tool.bluetooth.detector.entity.IBeacon
 
DEVICE_STATUS_START - 接口 中的静态变量com.tool.bluetooth.detector.BluetoothStatusListener
设备为打开状态
DEVICE_STATUS_STOP - 接口 中的静态变量com.tool.bluetooth.detector.BluetoothStatusListener
设备为关闭状态
deviceMacs(String[]) - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter.Builder
 
deviceNames(String[]) - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter.Builder
 

E

equals(Object) - 类 中的方法com.tool.bluetooth.detector.entity.IBeacon
如果两个检测到的 iBeacons 共享相同的三个标识符,则认为它们是相等的,而不管它们的距离或 RSSI

G

get_nowCsvFilename() - 类 中的静态方法com.tool.bluetooth.detector.utils.DateUtil
get "yyyy-MMdd-HH-mm-ss.csv" String
get_yyyyMMddHHmmssSSS(long) - 类 中的静态方法com.tool.bluetooth.detector.utils.DateUtil
get "yyyy-MM-dd HH:mm:ss.SSS" String
getAccuracy() - 类 中的方法com.tool.bluetooth.detector.entity.IBeacon
 
getBluetoothDevice() - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
getBluetoothScanner() - 类 中的静态方法com.tool.bluetooth.detector.core.BluetoothScanner
由于各 Android 版本对蓝牙处理不同,这里做一个 Android 版本差异化处理
getDeviceMacs() - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter
 
getDeviceName() - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
getDeviceNames() - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter
 
getiBeacon() - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
getInstance() - 类 中的静态方法com.tool.bluetooth.detector.BluetoothDetector
 
getLastUpdatedTimeMillis() - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
getMajor() - 类 中的方法com.tool.bluetooth.detector.entity.IBeacon
 
getMinor() - 类 中的方法com.tool.bluetooth.detector.entity.IBeacon
 
getProximity() - 类 中的方法com.tool.bluetooth.detector.entity.IBeacon
 
getProximityUuid() - 类 中的方法com.tool.bluetooth.detector.entity.IBeacon
 
getRssi() - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
getRssi() - 类 中的方法com.tool.bluetooth.detector.entity.IBeacon
 
getScanRecord() - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
getScanRecordHexString() - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
getServiceUUIDs() - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter
 
getTxPower() - 类 中的方法com.tool.bluetooth.detector.entity.IBeacon
 

H

hashCode() - 类 中的方法com.tool.bluetooth.detector.entity.IBeacon
 

I

IBeacon - com.tool.bluetooth.detector.entity中的类
================================================== 这个类表示 Android 设备检测到的单个硬件 iBeacon 设备 iBeacon由基于字段的三部分标识符组成 proximityUUID - 一个字符串UUID通常标识一系列信标的所有者 major - 一个16位整数,指示一组iBeacons minor - 一个16位整数标识一个单一的iBeacon iBeacon 发送包里包含以上这三个标识符,以及 iBeacon 的蓝牙的信息强度 RSSI 这个类只能从一个 BLE 包和 RSSI 测量值中被实例化,然后解析出三部分标识符以及校准的发射功率,然后使用测量的RSSI和校准的 发射功率做一个粗略的距离测量,并将其分组成一个更可靠的距离 iBeacon IBeacon() - 类 的构造器com.tool.bluetooth.detector.entity.IBeacon
 
IBeacon(String, int, int, int, int) - 类 的构造器com.tool.bluetooth.detector.entity.IBeacon
 
IBeacon(IBeacon) - 类 的构造器com.tool.bluetooth.detector.entity.IBeacon
 
isDebug() - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter
 
isOpenBluetooth() - 类 中的静态方法com.tool.bluetooth.detector.utils.BluetoothUtils
蓝牙是否开启
isOpenGPS(Context) - 类 中的静态方法com.tool.bluetooth.detector.utils.BluetoothUtils
判断是否启动 GPS 定位服务
isSupportBluetooth() - 类 中的静态方法com.tool.bluetooth.detector.utils.BluetoothUtils
是否支持蓝牙

M

major - 类 中的变量com.tool.bluetooth.detector.entity.IBeacon
一个16位整数,指示一组 iBeacons
minor - 类 中的变量com.tool.bluetooth.detector.entity.IBeacon
一个16位整数标识一个单一的 iBeacon

O

onDeviceStatus(int) - 接口 中的方法com.tool.bluetooth.detector.BluetoothStatusListener
设备状态/蓝牙状态,当前设备状态发生变化时回调此方法
onLeScan(BluetoothDevice, int, byte[]) - 类 中的方法com.tool.bluetooth.detector.core.version.BluetoothJellyBean
 
onReceive(Context, Intent) - 类 中的方法com.tool.bluetooth.detector.receiver.BluetoothReceiver
 
onScan(BluetoothDevice, int, byte[]) - 接口 中的方法com.tool.bluetooth.detector.BluetoothDetectorCallBack
Callback reporting an LE device found during a device scan initiated by the BluetoothAdapter.startLeScan(android.bluetooth.BluetoothAdapter.LeScanCallback) function.
onScanStatus(int) - 接口 中的方法com.tool.bluetooth.detector.BluetoothStatusListener
扫描状态,当前扫描状态发生变化时回调此方法
openBluetooth() - 类 中的静态方法com.tool.bluetooth.detector.utils.BluetoothUtils
强制开启蓝牙
openBluetooth(Activity, int) - 类 中的静态方法com.tool.bluetooth.detector.utils.BluetoothUtils
开启蓝牙,如果强制打开蓝牙失败,请再次调用这个方法转到系统设置页面开启
openGps(Activity, int) - 类 中的静态方法com.tool.bluetooth.detector.utils.BluetoothUtils
打开 Gps 系统设置页面
openPermissionsSetting(Activity, int) - 类 中的静态方法com.tool.bluetooth.detector.utils.BluetoothUtils
打开系统权限设备页面

P

proximity - 类 中的变量com.tool.bluetooth.detector.entity.IBeacon
当前 iBeacon 的距离,只可能有如下四个值
PROXIMITY_FAR - 类 中的静态变量com.tool.bluetooth.detector.entity.IBeacon
距离超过四米远
PROXIMITY_IMMEDIATE - 类 中的静态变量com.tool.bluetooth.detector.entity.IBeacon
距离不到半米远
PROXIMITY_NEAR - 类 中的静态变量com.tool.bluetooth.detector.entity.IBeacon
距离超过半米远,但不到四米远
PROXIMITY_UNKNOWN - 类 中的静态变量com.tool.bluetooth.detector.entity.IBeacon
RSSI值不佳或测量的发射功率,无法估算距离
proximityUuid - 类 中的变量com.tool.bluetooth.detector.entity.IBeacon
一个16字节的 UUID 通常代表拥有 iBeacon 的所有者 Example: E2C56DB5-DFFB-48D2-B060-D0F5A71096E0

R

REQUEST_CODE_BLUETOOTH - 类 中的静态变量com.tool.bluetooth.detector.utils.BluetoothUtils
 
REQUEST_CODE_GPS - 类 中的静态变量com.tool.bluetooth.detector.utils.BluetoothUtils
 
REQUEST_CODE_PERMISSIONS - 类 中的静态变量com.tool.bluetooth.detector.utils.BluetoothUtils
 
rssi - 类 中的变量com.tool.bluetooth.detector.entity.IBeacon
测量到的蓝牙设备的信号强度
runningAverageRssi - 类 中的变量com.tool.bluetooth.detector.entity.IBeacon
如果有多个RSSI样本可用,则这是运行平均值

S

SCAN_STATUS_START - 接口 中的静态变量com.tool.bluetooth.detector.BluetoothStatusListener
正在扫描状态
SCAN_STATUS_STOP - 接口 中的静态变量com.tool.bluetooth.detector.BluetoothStatusListener
停止扫描状态
serviceUUIDs(String[]) - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter.Builder
 
setBluetoothDevice(BluetoothDevice) - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
setDeviceName(String) - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
setLastUpdatedTimeMillis(long) - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
setRssi(int) - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
setScanRecord(byte[]) - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
startScan(BluetoothDetectorCallBack) - 类 中的方法com.tool.bluetooth.detector.BluetoothDetector
 
startScan(BluetoothFilter, BluetoothDetectorCallBack) - 类 中的方法com.tool.bluetooth.detector.BluetoothDetector
 
startScan(BluetoothDetectorCallBack) - 接口 中的方法com.tool.bluetooth.detector.BluetoothDetectorHandler
开启扫描,并回调至 BluetoothDetectorCallBack.onScan(BluetoothDevice, int, byte[]) 方法 此方法调用请放在 Activity.onCreate(Bundle) 方法里执行 与 BluetoothDetectorHandler.stopScan(BluetoothDetectorCallBack) 方法应是成对出现
startScan(BluetoothFilter, BluetoothDetectorCallBack) - 接口 中的方法com.tool.bluetooth.detector.BluetoothDetectorHandler
开启扫描,并回调至 BluetoothDetectorCallBack.onScan(BluetoothDevice, int, byte[]) 方法 此方法调用请放在 Activity.onCreate(Bundle) 方法里执行 与 BluetoothDetectorHandler.stopScan(BluetoothDetectorCallBack) 方法应是成对出现
startScanInternal(BluetoothFilter, BluetoothDetectorCallBack) - 类 中的方法com.tool.bluetooth.detector.core.BluetoothScanner
 
startScanInternal(BluetoothFilter, BluetoothDetectorCallBack) - 类 中的方法com.tool.bluetooth.detector.core.version.BluetoothJellyBean
 
startScanInternal(BluetoothFilter, BluetoothDetectorCallBack) - 类 中的方法com.tool.bluetooth.detector.core.version.BluetoothLollipop
 
startScanInternal(BluetoothFilter, BluetoothDetectorCallBack) - 类 中的方法com.tool.bluetooth.detector.core.version.BluetoothMarshmallow
 
startScanInternal(BluetoothFilter, BluetoothDetectorCallBack) - 类 中的方法com.tool.bluetooth.detector.core.version.BluetoothNougat
 
stopScan(BluetoothDetectorCallBack) - 类 中的方法com.tool.bluetooth.detector.BluetoothDetector
 
stopScan(BluetoothDetectorCallBack) - 接口 中的方法com.tool.bluetooth.detector.BluetoothDetectorHandler
关闭扫描,并移除回调 此方法调用请放在 Activity.onDestroy() 方法里执行 与 BluetoothDetectorHandler.startScan(BluetoothDetectorCallBack) 方法应是成对出现
stopScanInternal(BluetoothDetectorCallBack) - 类 中的方法com.tool.bluetooth.detector.core.BluetoothScanner
 
stopScanInternal(BluetoothDetectorCallBack) - 类 中的方法com.tool.bluetooth.detector.core.version.BluetoothJellyBean
 
stopScanInternal(BluetoothDetectorCallBack) - 类 中的方法com.tool.bluetooth.detector.core.version.BluetoothLollipop
 
stopScanInternal(BluetoothDetectorCallBack) - 类 中的方法com.tool.bluetooth.detector.core.version.BluetoothMarshmallow
 
stopScanInternal(BluetoothDetectorCallBack) - 类 中的方法com.tool.bluetooth.detector.core.version.BluetoothNougat
 

T

toString() - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
toString() - 类 中的方法com.tool.bluetooth.detector.entity.IBeacon
 
txPower - 类 中的变量com.tool.bluetooth.detector.entity.IBeacon
RSSI 中 iBeacon 的校准测量发射功率,该值帮助帮助估计距离

U

updateDevice(BluetoothDevice, int, byte[], long) - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
更新当前设备的信息

W

writeToParcel(Parcel, int) - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
writeToParcel(Parcel, int) - 类 中的方法com.tool.bluetooth.detector.entity.IBeacon
 
A B C D E G H I M O P R S T U W 
跳过导航链接