/// <summary>
 /// Stops receiving data from sensor.
 /// </summary>
 public void Stop()
 {
     _ultravioletSensor.DataUpdated -= OnDataUpdated;
     _ultravioletSensor.Stop();
     _ultravioletSensor.Dispose();
 }
 /// <summary>
 /// Stops sensor and unregisters the listener from a sensor
 /// </summary>
 /// <param name="listener">Event handler registered</param>
 public void Stop(EventHandler <SensorEventArgs> listener)
 {
     sensor.Stop();
     sensor.DataUpdated -= handler;
 }