Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 988 Bytes

activitysensor_readingchanged.md

File metadata and controls

28 lines (18 loc) · 988 Bytes
-api-id -api-type
E:Windows.Devices.Sensors.ActivitySensor.ReadingChanged
winrt event

Windows.Devices.Sensors.ActivitySensor.ReadingChanged

-description

Occurs each time the sensor reports a new sensor reading.

-remarks

When you add a callback function, you receive an initial callback. However, there is a case where you will not receive this initial callback.

  • Add a callback function.
  • Remove the callback function.
  • Add another callback function (or the original one a second time)

In this sequence of events, the second callback function will not receive the initial callback. It will receive callback notifications normally when the ActivitySensor reports a new reading; only the initial callback will be missed.

-examples

-see-also