public class SKBluetoothDeviceData extends SKAbstractData
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
address |
protected java.lang.String |
name |
protected int |
rssi |
sensorType, timestamp| Constructor and Description |
|---|
SKBluetoothDeviceData(long timestamp,
java.lang.String name,
java.lang.String address,
int rssi)
Initialize the instance
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAddress()
Get the Bluetooth device address
|
java.lang.String |
getDataInCSV()
Get Bluetooth data in CSV format
|
java.lang.String |
getName()
Get the Bluetooth device name
|
int |
getRssi()
Get the Bluetooth device RSSI
|
getSensorType, getTimestamp, toStringprotected final java.lang.String name
protected final java.lang.String address
protected final int rssi
public SKBluetoothDeviceData(long timestamp,
java.lang.String name,
java.lang.String address,
int rssi)
timestamp - Time in milliseconds (the difference between the current time and midnight, January 1, 1970 UTC)name - Device nameaddress - Device Addressrssi - Device RSSIpublic java.lang.String getDataInCSV()
public java.lang.String getName()
public java.lang.String getAddress()
public int getRssi()