Property Filter
Filter
Gets or sets an Arcade
Declaration
public ArcadeExpression Filter { get; set; }
Property Value
Type | Description |
---|---|
Arcade |
An Arcade |
Remarks
The expression uses the Arcade language to determine whether feed entity updates are suitable for monitoring.
The Arcade
true
indicates that the update will be used.false
indicates that the update will not be used.
Filtering out undesirable updates reduces inaccurate notifications from your Geotrigger
With a Locationtrue
if it is suitable and false
if not.
Typically, your expression excludes Location objects where the Horizontal
Arcade gives you access to the properties of the feed entity with the $locationupdate
profile variable.
This represents a new Location received from your device GPS.
For example, an Arcade
return $locationupdate.horizontalaccuracy <= 10;
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.13 - 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.13 - 200.6 |
Xamarin.Android | 100.13 - 100.15 |
Xamarin.iOS | 100.13 - 100.15 |
UWP | 100.13 - 200.6 |