|
||||||||||
| 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.LightSampleData
public final class LightSampleData
The light sensor device specific sample data, which is the ambient light level in SI lux units.
ATTENTON:
There do exist simple binary sensor types which do only support bright and dark measurement.
In such a case, just two values will be set: a large
value for the bright state and a lower one for the dark state.
LightDevice,
LightDeviceScanner| Field Summary | |
|---|---|
private float |
lightLevel
The ambient light level in SI lux unit |
| Constructor Summary | |
|---|---|
LightSampleData()
Constructor |
|
LightSampleData(LightSampleData sampleData)
Constructor |
|
| Method Summary | |
|---|---|
SampleData |
doClone()
Method to clone sample data |
boolean |
equals(Object o)
|
float |
getLightLevel()
Getter for the ambient light level |
void |
setLightLevel(float lightLevel)
Setter for the ambient light level |
| 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 float lightLevel
| Constructor Detail |
|---|
public LightSampleData()
public LightSampleData(LightSampleData 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 void setLightLevel(float lightLevel)
lightLevel - the ambient light levelpublic final float getLightLevel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||