reportingModeOneShot constant

int const reportingModeOneShot

Events are reported in one-shot mode. Upon detection of an event, the sensor deactivates itself and then sends a single event. Sensors of this reporting mode must be registered to using {@link SensorManager#requestTriggerSensor(TriggerEventListener, Sensor)}.

Implementation

static const int reportingModeOneShot = 2;