Class LocationGeotriggerFeed
Feed data for a Geotrigger created from a LocationDataSource.
Namespace: Esri.ArcGISRuntime.Geotriggers
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class LocationGeotriggerFeed : GeotriggerFeedRemarks
The GeotriggerFeed is the dynamic component of a Geotrigger. Typically, it is the data that moves around and triggers the condition. For example, if the condition is "notify me when my position comes within 50 meters of one of my target areas", the feed data is "my position".
To receive location updates, the LocationDataSource must be Started. If you call Stop(), the underlying LocationDataSource will not be stopped for you. For example, it may continue to receive GPS readings.
If the LocationGeotriggerFeed is from a Geotrigger defined in a GeotriggersInfo, you must supply a LocationDataSource to provide the device location. Set the LocationDataSource to your LocationDataSource - for example, using the DataSource.
Constructors
| Name | Description | 
|---|---|
| LocationGeotriggerFeed(LocationDataSource) | Initializes a new instance of the LocationGeotriggerFeed class with a LocationDataSource. | 
Properties
| Name | Description | 
|---|---|
| Filter | Gets or sets an ArcadeExpression that controls whether an update from the LocationGeotriggerFeed is sent to a GeotriggerMonitor. | 
| LocationDataSource | Gets or sets the location data source that provides updates for the device location. | 
Applies to
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.12 - 100.15 | 
| .NET 6.0 | 100.13 - 100.15 | 
| .NET 6.0 Windows | 100.13 - 100.15 | 
| .NET Framework | 100.12 - 100.15 | 
| .NET 5 | 100.12 | 
| .NET Core 3.1 | 100.12 | 
| Xamarin.Android | 100.12 - 100.15 | 
| Xamarin.iOS | 100.12 - 100.15 | 
| UWP | 100.12 - 100.15 |