IActivityMonitor Members

Include Protected Members
Include Inherited Members

The IActivityMonitor type exposes the following members.

Methods

  Name Description
Public method ActivateAsync
Re-establishes the communication channel with underlying sensor, if it doesn't already exist. Connection needs to be re-established when the application is brought to foreground.
(Inherited from ISensor.)
Public method DeactivateAsync
Closes the communication channel with underlying sensor. Connection must be closed whenever application is put to background.
(Inherited from ISensor.)
Public method GetActivityAtAsync
Gets the device activity at given time.
Public method GetActivityHistoryAsync
Returns time ordered list of activities occured during given time period.
Public method GetCurrentReadingAsync
Gets the current activity

Properties

  Name Description
Public property Enabled
Enables or disables activity change event monitoring.
Public property Type
Gets the sensor type.
(Inherited from ISensor.)

Events

  Name Description
Public event ReadingChanged
Occurs each time activity changes.

See Also

IActivityMonitor Interface

Lumia.Sense Namespace