@Implements(value=android.hardware.Sensor.class) public class ShadowSensor extends Object
| Constructor and Description |
|---|
ShadowSensor() |
| Modifier and Type | Method and Description |
|---|---|
static Sensor |
newInstance(int type)
Constructs a
Sensor with a given type. |
void |
setWakeUpFlag(boolean wakeup)
Controls the return value of
Sensor.isWakeUpSensor(). |
public void setWakeUpFlag(boolean wakeup)
Controls the return value of Sensor.isWakeUpSensor().