ArcGIS Runtime SDK for iOS: AGSFenceGeotrigger.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSFenceGeotrigger.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2022 ESRI
3 
4  All rights reserved under the copyright laws of the United States
5  and applicable international laws, treaties, and conventions.
6 
7  This material is licensed for use under the Esri Master License
8  Agreement (MLA), and is bound by the terms of that agreement.
9  You may redistribute and use this code without modification,
10  provided you adhere to the terms of the MLA and include this
11  copyright notice.
12 
13  See use restrictions at http://www.esri.com/legal/pdfs/mla_e204_e300/english
14 
15  For additional information, contact:
16  Environmental Systems Research Institute, Inc.
17  Attn: Contracts and Legal Services Department
18  380 New York Street
19  Redlands, California, 92373
20  USA
21 
22  email: contracts@esri.com
23  */
24  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSGeotrigger.h>
29 
30 
31 
52 typedef NS_ENUM(NSInteger, AGSFenceEnterExitSpatialRelationship) {
56 };
57 
72 typedef NS_ENUM(NSInteger, AGSFenceGeotriggerFeedAccuracyMode) {
75 };
76 
80 typedef NS_ENUM(NSInteger, AGSFenceRuleType) {
84 };
85 
86 @class AGSArcadeExpression;
87 @class AGSFenceParameters;
88 @class AGSGeotriggerFeed;
89 
122 
123 #pragma mark -
124 #pragma mark initializers
125 
126 
127 
134 - (instancetype)initWithFeed:(AGSGeotriggerFeed *)feed
135  ruleType:(AGSFenceRuleType)ruleType
136  fenceParameters:(AGSFenceParameters *)fenceParameters;
137 
144 + (instancetype)fenceGeotriggerWithFeed:(AGSGeotriggerFeed *)feed
145  ruleType:(AGSFenceRuleType)ruleType
146  fenceParameters:(AGSFenceParameters *)fenceParameters;
147 
157 - (instancetype)initWithFeed:(AGSGeotriggerFeed *)feed
158  ruleType:(AGSFenceRuleType)ruleType
159  fenceParameters:(AGSFenceParameters *)fenceParameters
160  messageExpression:(nullable AGSArcadeExpression *)messageExpression
161  name:(NSString *)name;
162 
172 + (instancetype)fenceGeotriggerWithFeed:(AGSGeotriggerFeed *)feed
173  ruleType:(AGSFenceRuleType)ruleType
174  fenceParameters:(AGSFenceParameters *)fenceParameters
175  messageExpression:(nullable AGSArcadeExpression *)messageExpression
176  name:(NSString *)name;
177 
178 #pragma mark -
179 #pragma mark properties
180 
192 @property (nonatomic, strong, readonly) AGSFenceParameters *fenceParameters;
193 
199 @property (nonatomic, assign, readwrite) AGSFenceRuleType ruleType;
200 
224 
245 @property (nonatomic, assign, readwrite) AGSFenceGeotriggerFeedAccuracyMode feedAccuracyMode;
246 
247 #pragma mark -
248 #pragma mark methods
249 
250 @end
251 
252 
AGSFenceRuleType
Definition: AGSFenceGeotrigger.h:80
@ AGSFenceRuleTypeEnter
Definition: AGSFenceGeotrigger.h:81
@ AGSFenceRuleTypeExit
Definition: AGSFenceGeotrigger.h:82
@ AGSFenceRuleTypeEnterOrExit
Definition: AGSFenceGeotrigger.h:83
AGSFenceGeotriggerFeedAccuracyMode
Definition: AGSFenceGeotrigger.h:72
@ AGSFenceGeotriggerFeedAccuracyModeUseGeometryWithAccuracy
Definition: AGSFenceGeotrigger.h:74
@ AGSFenceGeotriggerFeedAccuracyModeUseGeometry
Definition: AGSFenceGeotrigger.h:73
AGSFenceEnterExitSpatialRelationship
Definition: AGSFenceGeotrigger.h:52
@ AGSFenceEnterExitSpatialRelationshipEnterIntersectsAndExitDoesNotIntersect
Definition: AGSFenceGeotrigger.h:53
@ AGSFenceEnterExitSpatialRelationshipEnterContainsAndExitDoesNotContain
Definition: AGSFenceGeotrigger.h:54
@ AGSFenceEnterExitSpatialRelationshipEnterContainsAndExitDoesNotIntersect
Definition: AGSFenceGeotrigger.h:55
An Arcade expression object, containing an expression, a name, a return type and a title.
Definition: AGSArcadeExpression.h:53
An AGSGeotrigger that defines regions or fences to be monitored using an AGSGeotriggerMonitor.
Definition: AGSFenceGeotrigger.h:122
AGSFenceParameters * fenceParameters
Definition: AGSFenceGeotrigger.h:192
AGSFenceEnterExitSpatialRelationship enterExitSpatialRelationship
Definition: AGSFenceGeotrigger.h:223
AGSFenceRuleType ruleType
Definition: AGSFenceGeotrigger.h:199
AGSFenceGeotriggerFeedAccuracyMode feedAccuracyMode
Definition: AGSFenceGeotrigger.h:245
Geotrigger fence data required for an AGSFenceGeotrigger.
Definition: AGSFenceParameters.h:48
Feed data required for an AGSGeotrigger.
Definition: AGSGeotriggerFeed.h:42
A condition monitored by an AGSGeotriggerMonitor.
Definition: AGSGeotrigger.h:54