ArcGIS Runtime SDK for iOS: AGSPopupDefinition.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSPopupDefinition.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 
25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSObject.h>
27 #import <ArcGIS/AGSGeoElement.h>
28 #import <ArcGIS/AGSPopupSource.h>
29 
30 @class AGSPopupMedia;
31 @class AGSPopupField;
33 @class AGSPopupElement;
34 @class AGSPopupExpression;
35  //Required for Globals API doc
37 
49 
50 
51 #pragma mark -
52 #pragma mark initializers
53 
61 -(instancetype)initWithGeoElement:(id<AGSGeoElement>)geoElement;
62 
70 -(instancetype)initWithPopupSource:(id<AGSPopupSource>)popupSource;
71 
78 +(instancetype)popupDefinition;
79 
88 +(instancetype)popupDefinitionWithPopupSource:(id<AGSPopupSource>)popupSource;
89 
98 +(instancetype)popupDefinitionWithGeoElement:(id<AGSGeoElement>)geoElement;
99 
100 #pragma mark -
101 #pragma mark properties
102 
108 @property (nonatomic, copy, readwrite) NSString *title;
109 
116 @property (nonatomic, copy, readwrite) NSString *customDescription;
117 
135 @property (nonatomic, copy, readwrite) NSArray<AGSPopupElement *> *elements;
136 
140 @property (nonatomic, copy, readwrite) NSArray<AGSPopupExpression*> *expressions;
141 
147 @property (nonatomic, copy, readwrite) NSArray<AGSPopupField*> *fields;
148 
154 @property (nonatomic, copy, readwrite) NSArray<AGSPopupMedia*> *media;
155 
159 @property (nullable, nonatomic, strong, readwrite) AGSPopupRelatedFeaturesDefinition *relatedFeaturesDefinition;
160 
164 @property (nonatomic, assign) BOOL showAttachments;
165 
169 @property (nonatomic, assign) BOOL allowEdit;
170 
174 @property (nonatomic, assign) BOOL allowEditGeometry;
175 
179 @property (nonatomic, assign) BOOL allowDelete;
180 
184 @property (nonatomic, assign) BOOL showEditSummary;
185 
190 @property (nonatomic, assign) BOOL showRelatedRecords ;
191 
192 #pragma mark -
193 #pragma mark methods
194 
195 
196 @end
197 
Definition: AGSObject.h:28
A popup definition.
Definition: AGSPopupDefinition.h:49
BOOL showAttachments
Definition: AGSPopupDefinition.h:164
NSArray< AGSPopupMedia * > * media
Definition: AGSPopupDefinition.h:154
BOOL showEditSummary
Definition: AGSPopupDefinition.h:184
NSArray< AGSPopupField * > * fields
Definition: AGSPopupDefinition.h:147
BOOL allowDelete
Definition: AGSPopupDefinition.h:179
BOOL allowEdit
Definition: AGSPopupDefinition.h:169
NSArray< AGSPopupElement * > * elements
Definition: AGSPopupDefinition.h:135
NSArray< AGSPopupExpression * > * expressions
Definition: AGSPopupDefinition.h:140
NSString * customDescription
Definition: AGSPopupDefinition.h:116
AGSPopupRelatedFeaturesDefinition * relatedFeaturesDefinition
Definition: AGSPopupDefinition.h:159
BOOL showRelatedRecords
Definition: AGSPopupDefinition.h:190
instancetype popupDefinition()
BOOL allowEditGeometry
Definition: AGSPopupDefinition.h:174
NSString * title
Definition: AGSPopupDefinition.h:108
Represents an element that is displayed in a pop-up for a geoelement.
Definition: AGSPopupElement.h:37
Arcade expression to display in a pop-up.
Definition: AGSPopupExpression.h:47
Information about a field in a popup.
Definition: AGSPopupField.h:51
Information about a single media in a popup.
Definition: AGSPopupMedia.h:53
An abstract representation of geographic entities on a map.
Definition: AGSGeoElement.h:43
A source for popups.
Definition: AGSPopupSource.h:40