Class LocationGeotriggerFeed
Feed data for a Geotrigger created from a LocationDataSource.
Namespace: Esri.ArcGISRuntime.Geotriggers
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class LocationGeotriggerFeed : GeotriggerFeed
Remarks
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 underlying location data source 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 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.12 - 200.6 |
Xamarin.Android | 100.12 - 100.15 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 200.6 |