public class Light
extends java.lang.Object
This class represents the light sensor values. It can be used to dispatch the sensor updates to the creative.
| Constructor and Description |
|---|
Light(float light,
int watchID)
Constructs a new instance of sensor object with the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getLight() |
int |
getWatchID() |