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

A

accuracy - 类 中的变量com.tool.bluetooth.detector.entity.IBeacon
这个数字是估计这个 iBeacon 离米有多远的估计值。
addDeviceAddress(String) - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter.Builder
 
addDeviceAddresses(List<String>) - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter.Builder
 
addDeviceName(String) - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter.Builder
 
addDeviceNames(List<String>) - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter.Builder
 
addServiceUUIDs(List<String>) - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter.Builder
 
addSetserviceUUID(String) - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter.Builder
 
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
 
com.tool.bluetooth.detector.utils.timer - 程序包 com.tool.bluetooth.detector.utils.timer
 
complete(int) - 接口 中的方法com.tool.bluetooth.detector.utils.timer.TimerManager.TimerListener
 
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

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
设备为关闭状态

E

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

G

getAccuracy() - 类 中的方法com.tool.bluetooth.detector.entity.IBeacon
 
getBluetoothDevice() - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
getCallBack() - 类 中的方法com.tool.bluetooth.detector.core.BluetoothScanner
 
getDeviceAddresses() - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter
 
getDeviceName() - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
getDeviceNames() - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter
 
getFilter() - 类 中的方法com.tool.bluetooth.detector.core.BluetoothScanner
 
getiBeacon() - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
getInstance() - 类 中的静态方法com.tool.bluetooth.detector.BluetoothDetector
 
getInstance() - 类 中的静态方法com.tool.bluetooth.detector.utils.timer.TimerManager
 
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位整数,相当于群组号,同一个组里Beacon有相同的Major minor - 一个16位整数,相当于识别群组里单个的Beacon iBeacon 发送包里包含以上这三个标识符,以及 iBeacon 的蓝牙的信息强度 RSSI UUID + Major + Minor 就构成了一个 iBeacon 的识别号 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 定位服务
isScanning() - 类 中的方法com.tool.bluetooth.detector.BluetoothDetector
 
isScanning() - 接口 中的方法com.tool.bluetooth.detector.BluetoothDetectorHandler
是否正在扫描设备
isScanning - 类 中的变量com.tool.bluetooth.detector.core.BluetoothScanner
 
isScanning() - 类 中的方法com.tool.bluetooth.detector.core.BluetoothScanner
 
isScanning() - 类 中的方法com.tool.bluetooth.detector.core.version.BluetoothJellyBean
 
isSupportBluetooth() - 类 中的静态方法com.tool.bluetooth.detector.utils.BluetoothUtils
是否支持蓝牙
ITimer - com.tool.bluetooth.detector.utils.timer中的接口
 

M

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

N

newInstance() - 类 中的静态方法com.tool.bluetooth.detector.core.BluetoothScanner
由于各 Android 版本对蓝牙处理不同,这里做一个 Android 版本差异化处理

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) - 类 中的静态方法com.tool.bluetooth.detector.utils.BluetoothUtils
打开系统权限设备页面

P

progress(long, long) - 接口 中的方法com.tool.bluetooth.detector.utils.timer.TimerManager.TimerListener
 
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
 
reset() - 接口 中的方法com.tool.bluetooth.detector.utils.timer.ITimer
重置定时任务
reset() - 类 中的方法com.tool.bluetooth.detector.utils.timer.TimerManager
 
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
停止扫描状态
schedule() - 接口 中的方法com.tool.bluetooth.detector.utils.timer.ITimer
开始执行定时任务 默认扫描总时间 = TimerManager.PERIOD * TimerManager.FREQUENCY = 10 分钟
schedule(long) - 接口 中的方法com.tool.bluetooth.detector.utils.timer.ITimer
开始执行定时任务
schedule(long, long) - 接口 中的方法com.tool.bluetooth.detector.utils.timer.ITimer
开始执行定时任务
schedule(long, long, int) - 接口 中的方法com.tool.bluetooth.detector.utils.timer.ITimer
开始执行定时任务 循环总时间 = 间隔时间 * 次数
schedule() - 类 中的方法com.tool.bluetooth.detector.utils.timer.TimerManager
 
schedule(long) - 类 中的方法com.tool.bluetooth.detector.utils.timer.TimerManager
 
schedule(long, long) - 类 中的方法com.tool.bluetooth.detector.utils.timer.TimerManager
 
schedule(long, long, int) - 类 中的方法com.tool.bluetooth.detector.utils.timer.TimerManager
 
scheduleAtFrequency(int) - 接口 中的方法com.tool.bluetooth.detector.utils.timer.ITimer
开始执行定时任务
scheduleAtFrequency(int) - 类 中的方法com.tool.bluetooth.detector.utils.timer.TimerManager
 
setBluetoothDevice(BluetoothDevice) - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
setCallBack(BluetoothDetectorCallBack) - 类 中的方法com.tool.bluetooth.detector.core.BluetoothScanner
 
setDeviceAddresses(List<String>) - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter.Builder
 
setDeviceName(String) - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
setDeviceNames(List<String>) - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter.Builder
 
setFilter(BluetoothFilter) - 类 中的方法com.tool.bluetooth.detector.core.BluetoothScanner
 
setLastUpdatedTimeMillis(long) - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
setListener(TimerManager.TimerListener) - 接口 中的方法com.tool.bluetooth.detector.utils.timer.ITimer
 
setListener(TimerManager.TimerListener) - 类 中的方法com.tool.bluetooth.detector.utils.timer.TimerManager
 
setRssi(int) - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
setScanRecord(byte[]) - 类 中的方法com.tool.bluetooth.detector.entity.BeaconDevice
 
setServiceUUIDs(List<String>) - 类 中的方法com.tool.bluetooth.detector.config.BluetoothFilter.Builder
 
startScan(BluetoothFilter, BluetoothDetectorCallBack) - 类 中的方法com.tool.bluetooth.detector.BluetoothDetector
 
startScan(BluetoothFilter, BluetoothDetectorCallBack) - 接口 中的方法com.tool.bluetooth.detector.BluetoothDetectorHandler
开启扫描,并回调至 BluetoothDetectorCallBack.onScan(BluetoothDevice, int, byte[]) 方法 此方法调用请放在 Activity.onCreate(Bundle) 方法里执行 与 BluetoothDetectorHandler.stopScan() 方法应是成对出现
startScanInternal() - 类 中的方法com.tool.bluetooth.detector.core.BluetoothScanner
 
startScanInternal() - 类 中的方法com.tool.bluetooth.detector.core.version.BluetoothJellyBean
 
startScanInternal() - 类 中的方法com.tool.bluetooth.detector.core.version.BluetoothLollipop
 
startScanInternal() - 类 中的方法com.tool.bluetooth.detector.core.version.BluetoothMarshmallow
 
startScanInternal() - 类 中的方法com.tool.bluetooth.detector.core.version.BluetoothNougat
 
stopScan() - 类 中的方法com.tool.bluetooth.detector.BluetoothDetector
 
stopScan() - 接口 中的方法com.tool.bluetooth.detector.BluetoothDetectorHandler
关闭扫描,并移除回调 此方法调用请放在 Activity.onDestroy() 方法里执行 与 BluetoothDetectorHandler.startScan(BluetoothFilter, BluetoothDetectorCallBack) 方法应是成对出现
stopScanInternal() - 类 中的方法com.tool.bluetooth.detector.core.BluetoothScanner
 
stopScanInternal() - 类 中的方法com.tool.bluetooth.detector.core.version.BluetoothJellyBean
 
stopScanInternal() - 类 中的方法com.tool.bluetooth.detector.core.version.BluetoothLollipop
 
stopScanInternal() - 类 中的方法com.tool.bluetooth.detector.core.version.BluetoothMarshmallow
 
stopScanInternal() - 类 中的方法com.tool.bluetooth.detector.core.version.BluetoothNougat
 

T

TimerManager - com.tool.bluetooth.detector.utils.timer中的类
定时器
TimerManager.TimerListener - com.tool.bluetooth.detector.utils.timer中的接口
 
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 N O P R S T U W 
跳过导航链接