A GeotriggerMonitor monitors a Geotrigger condition and, when it is met, results in a GeotriggerNotificationInfo.
public sealed class GeotriggerMonitor
A Geotrigger defines a query that is evaluated against GIS data as it changes in real time. For example, "Notify me when my device location enters one of my target areas" or "Notify me when my device location is within 50 m of my destination".
A GeotriggerMonitor is created with a Geotrigger that it continually checks to determine whether the condition has been met.
Once a GeotriggerMonitor is created, you begin checking the condition by calling StartAsync(). Once you are finished, call Stop(). When a Geotrigger evaluates to true, a Notification is sent. You can subscribe to the notification info to receive details of where the Geotrigger was activated and the condition that was met.
Initializes a new instance of the GeotriggerMonitor class with a Geotrigger condition.
Gets the Geotrigger that will be monitored.
Gets the current status of the GeotriggerMonitor.
Gets an error that describes a problem encountered while starting or monitoring the Geotrigger.
Starts evaluating the Geotrigger.
Stops evaluating the Geotrigger.
Indicates that the Geotrigger condition has been meet.
Indicates that the Status property has changed.
Indicates that the Warning property has changed.
|.NET Standard 2.0||100.12 - 200.1|
|.NET 6.0||100.13 - 200.1|
|.NET 6.0 Windows||100.13 - 200.1|
|.NET 6.0 Android||200.0 - 200.1|
|.NET 6.0 iOS||200.0 - 200.1|
|.NET Framework||100.12 - 200.1|
|.NET Core 3.1||100.12|
|Android||100.12 - 100.15|
|iOS||100.12 - 100.15|
|UWP||100.12 - 200.1|