-
- All Implemented Interfaces:
-
com.polidea.rxandroidble3.internal.ScanResultInterface
public class RxBleInternalScanResult implements ScanResultInterface
-
-
Field Summary
Fields Modifier and Type Field Description private final BluetoothDevicebluetoothDeviceprivate final intrssiprivate final longtimestampNanosprivate final ScanRecordscanRecordprivate final ScanCallbackTypescanCallbackTypeprivate final IsConnectableisConnectableprivate final IntegeradvertisingSid
-
Constructor Summary
Constructors Constructor Description RxBleInternalScanResult(BluetoothDevice bluetoothDevice, int rssi, long timestampNanos, ScanRecord scanRecord, ScanCallbackType scanCallbackType, IsConnectable isConnectable, Integer advertisingSid)
-
Method Summary
Modifier and Type Method Description BluetoothDevicegetBluetoothDevice()intgetRssi()Get the RSSI of the scan result longgetTimestampNanos()Get the timestamp the scan result was produced ScanRecordgetScanRecord()Get the scan record ScanCallbackTypegetScanCallbackType()Get the type of scan callback IsConnectableisConnectable()IntegergetAdvertisingSid()Get the advertising set id StringgetAddress()Get the address from the device StringgetDeviceName()Get the device name from the device (not from scan record) -
-
Constructor Detail
-
RxBleInternalScanResult
RxBleInternalScanResult(BluetoothDevice bluetoothDevice, int rssi, long timestampNanos, ScanRecord scanRecord, ScanCallbackType scanCallbackType, IsConnectable isConnectable, Integer advertisingSid)
-
-
Method Detail
-
getBluetoothDevice
BluetoothDevice getBluetoothDevice()
-
getRssi
int getRssi()
Get the RSSI of the scan result
-
getTimestampNanos
long getTimestampNanos()
Get the timestamp the scan result was produced
-
getScanRecord
ScanRecord getScanRecord()
Get the scan record
-
getScanCallbackType
ScanCallbackType getScanCallbackType()
Get the type of scan callback
-
isConnectable
IsConnectable isConnectable()
-
getAdvertisingSid
Integer getAdvertisingSid()
Get the advertising set id
-
getAddress
String getAddress()
Get the address from the device
-
getDeviceName
String getDeviceName()
Get the device name from the device (not from scan record)
-
-
-
-