|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectde.unikassel.android.sdcframework.data.independent.AbstractSampleData
de.unikassel.android.sdcframework.data.independent.BluetoothSampleData
public final class BluetoothSampleData
The device specific sample data of a bluetooth sensor device are the received signal strength indicator, the friendly bluetooth name,
the hardware adress and the bluetooth
class.
BluetoothDevice,
BluetoothDeviceScanner| Field Summary | |
|---|---|
private String |
address
The bluetooth hardware address as string |
private String |
bluetoothClass
The Android bluetooth class ( can be null if unknown ). |
private String |
name
The friendly bluetooth name of the device ( can be null if unknown ) |
private Short |
rssi
The received signal strength indicator of the device ( usually a value in the range 0 to 255 ). |
| Constructor Summary | |
|---|---|
BluetoothSampleData()
Constructor |
|
BluetoothSampleData(BluetoothSampleData sampleData)
Constructor |
|
| Method Summary | |
|---|---|
SampleData |
doClone()
Method to clone sample data |
boolean |
equals(Object o)
|
String |
getAddress()
Getter for the hardware address |
String |
getBluetoothClass()
Getter for the bluetoothClass |
String |
getName()
Getter for the friendly bluetooth name |
Short |
getRSSI()
Getter for the received signal strength indicator ( RSSI ) |
void |
setAddress(String address)
Setter for the hardware address |
void |
setBluetoothClass(String bluetoothClass)
Setter for the bluetooth class |
void |
setName(String name)
Setter for the friendly bluetooth name |
void |
setRSSI(Short rssi)
Setter for the received signal strength indicator ( RSSI ) |
| Methods inherited from class de.unikassel.android.sdcframework.data.independent.AbstractSampleData |
|---|
clone, getRelatedData, toXML, updateRelatedData |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private Short rssi
private String name
private String address
private String bluetoothClass
| Constructor Detail |
|---|
public BluetoothSampleData()
public BluetoothSampleData(BluetoothSampleData sampleData)
sampleData - the sample data to copy construct from| Method Detail |
|---|
public final SampleData doClone()
SampleData
public final boolean equals(Object o)
equals in class Objectpublic final Short getRSSI()
public final void setRSSI(Short rssi)
rssi - the RSSI to setpublic final String getName()
public final void setName(String name)
name - the name to setpublic final String getAddress()
public final void setAddress(String address)
address - the hardware address to setpublic final String getBluetoothClass()
public final void setBluetoothClass(String bluetoothClass)
bluetoothClass - the bluetooth class to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||