warning

val warning: StateFlow<Throwable?>

An error that describes a problem encountered while starting or monitoring the Geotrigger. A warning can occur at various stages of monitoring a Geotrigger:

If the problem is resolved, this property will be cleared.

Problems that occur when starting the GeotriggerMonitor result in a GeotriggerMonitor.status of GeotriggerMonitorStatus.FailedToStart. These issues must be fixed and start called again before you receive any notifications. For example, if the Geotrigger.messageExpression is an invalid ArcadeExpression, monitoring cannot be carried out.

Problems that occur when accessing the components of the Geotrigger will not prevent the GeotriggerMonitor from starting. However, until the problem is resolved, you will not receive any notifications. For example, if a LocationGeotriggerFeed uses a LocationDataSource that is not started, you will not receive any notifications. Once the LocationDataSource is successfully started, monitoring will resume. If a FenceParameters has no valid data for a fence you will not receive any notifications.

Problems that occur during ongoing monitoring relate to issues with individual objects such as the graphics that make up the fences for a GraphicFenceParameters. These warnings do not prevent notifications from being sent for other valid fences. For example, a fence is considered invalid if it has:

  • an empty Geometry

  • a missing SpatialReference

  • a point or polyline Geometry and a buffer distance of 0

Since

200.1.0