FenceGeotriggerNotificationInfo Class

GeotriggerNotificationInfo from a FenceGeotrigger."> FenceGeotriggerNotificationInfo Class | ArcGISQtCpp
  • FenceGeotriggerNotificationInfo
  • class Esri::ArcGISRuntime::FenceGeotriggerNotificationInfo

    A GeotriggerNotificationInfo from a FenceGeotrigger. More...

    Header: #include <FenceGeotriggerNotificationInfo.h>
    Since: Esri::ArcGISRuntime 100.12
    Inherits: Esri::ArcGISRuntime::GeotriggerNotificationInfo

    Public Functions

    virtual ~FenceGeotriggerNotificationInfo() override
    Esri::ArcGISRuntime::GeoElement *fenceGeoElement() const
    Esri::ArcGISRuntime::Geometry fenceGeometry() const
    QString fenceId() const
    Esri::ArcGISRuntime::FenceNotificationType fenceNotificationType() const

    Detailed Description

    Member Function Documentation

    [override virtual] FenceGeotriggerNotificationInfo::~FenceGeotriggerNotificationInfo()

    Destructor.

    Esri::ArcGISRuntime::GeoElement *FenceGeotriggerNotificationInfo::fenceGeoElement() const

    Returns the GeoElement from the fence data that meets the FenceGeotrigger condition.

    The GeoElement is one of the features or graphics from the FenceParameters used to create the FenceGeotrigger. Inspect the GeoElement::attributes and GeoElement::geometry properties for more details.

    Esri::ArcGISRuntime::Geometry FenceGeotriggerNotificationInfo::fenceGeometry() const

    Returns the Geometry used for the fence that satisfies the FenceGeotrigger condition.

    The original geometry of the fenceGeoElement, including any adjustments (such as applying buffers) and projected to WGS84. You can compare this with the Location::position of the corresponding GeotriggerNotificationInfo::feedLocation.

    [since Esri::ArcGISRuntime 100.13] QString FenceGeotriggerNotificationInfo::fenceId() const

    Returns a unique ID for the fence that triggered the notification info.

    This property will be consistent for all notifications for a given fence. For example, use this ID to group enter and exit events for a specific fence to display the current occupancy.

    You can combine this property with the GeotriggerNotificationInfo::feedEntityId to create an ID that groups all notifications for a given feed element and a specific fence. For example, use a concatenation of the two properties to display a list of areas of interest that are currently occupied and the details of who has entered them.

    To group events by the geotrigger, use the Geotrigger::geotriggerId property.

    This function was introduced in Esri::ArcGISRuntime 100.13.

    See also GeotriggerNotificationInfo::feedEntityId and Geotrigger::geotriggerId.

    Esri::ArcGISRuntime::FenceNotificationType FenceGeotriggerNotificationInfo::fenceNotificationType() const

    Returns the type of rule that caused this FenceGeotriggerNotificationInfo.

    The FenceNotificationType can be one of:

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.