Register Sensor

This is a function which toggles a sensor on to begin receiving Sensor Events from the Sensor Event Listener.

The function accepts two parameters, the Sensor Type to register and the Sensor Delay.

1

Sensor Type

The Sensor Type to be registered.

2

Sensor Delay

The Sensor Delay between events. This essentially controls the frequency at which Sensor Events are received which also in turn controls the power consumption of the sensor.