Share via


PlaceMonitor Members

Include Protected Members
Include Inherited Members

The PlaceMonitor 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.
Public method DeactivateAsync
Closes the communication channel with underlying sensor. Connection must be closed whenever application is put to background.
Public methodStatic member GetDefaultAsync
Gets the default implementation.
Public method GetHomeAsync
Gets the home location.
Public method GetKnownPlaceAsync
Returns place matching the given place id. This method can be used to return any type of places: home, work, known and frequent.
Public method GetKnownPlacesAsync
Gets the set of currently known places. This includes all types of places: home, work, known and frequent.
Public method GetPlaceAtAsync
Gets the place at given time.
Public method GetPlaceHistoryAsync
Returns time ordered list of places visited during given time period.
Public method GetWorkAsync
Gets the work location.
Public methodStatic member IsSupportedAsync
Returns whether the sensor is supported by the device or not.

Properties

  Name Description
Public property Type
The sensor type.

See Also

PlaceMonitor Class

Lumia.Sense Namespace