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