ArcGIS Runtime SDK for iOS: AGSPopupsViewControllerDelegate.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSPopupsViewControllerDelegate.h
Go to the documentation of this file.
1 /*
2  COPYRIGHT 2021 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 
29 
30 
35 typedef NS_ENUM(NSInteger, AGSPopupViewControllerType) {
43 };
44 
45 @class AGSPopup;
46 @class AGSSketchEditor;
48 
57 
58 @optional
59 
65 -(nullable AGSSketchEditor*)popupsViewController:(AGSPopupsViewController *)popupsViewController sketchEditorForPopup:(AGSPopup*)popup;
66 
79 -(void)popupsViewController:(AGSPopupsViewController *)popupsViewController readyToEditGeometryWithSketchEditor:(nullable AGSSketchEditor*)sketchEditor forPopup:(AGSPopup*)popup;
80 
86 -(void)popupsViewController:(AGSPopupsViewController *)popupsViewController didStartEditingForPopup:(AGSPopup*)popup;
87 
95 -(void)popupsViewController:(AGSPopupsViewController *)popupsViewController willFinishEditingForPopup:(AGSPopup*)popup;
96 
103 -(void)popupsViewController:(AGSPopupsViewController *)popupsViewController didFinishEditingForPopup:(AGSPopup*)popup;
104 
113 -(void)popupsViewController:(AGSPopupsViewController *)popupsViewController didFailToFinishEditingForPopup:(AGSPopup*)popup withError:(NSError*)error;
114 
120 -(void)popupsViewController:(AGSPopupsViewController *)popupsViewController didCancelEditingForPopup:(AGSPopup*)popup;
121 
131 -(BOOL)popupsViewController:(AGSPopupsViewController *)popupsViewController wantsToDeleteForPopup:(AGSPopup*)popup;
132 
138 -(void)popupsViewController:(AGSPopupsViewController *)popupsViewController didDeleteForPopup:(AGSPopup*)popup;
139 
148 -(void)popupsViewController:(AGSPopupsViewController *)popupsViewController didFailToDeleteForPopup:(AGSPopup*)popup withError:(NSError*)error;
149 
154 -(void)popupsViewControllerDidFinishViewingPopups:(AGSPopupsViewController *)popupsViewController;
155 
165 -(void)popupsViewController:(AGSPopupsViewController *)popupsViewController validityChanged:(BOOL)isValid forPopup:(AGSPopup*)popup;
166 
177 -(void)popupsViewController:(AGSPopupsViewController *)popupsViewController wantsToShowViewController:(AGSViewController *)svc ofType:(AGSPopupViewControllerType)viewType fromViewController:(AGSViewController*)fvc atRect:(CGRect)rect;
178 
188 -(void)popupsViewController:(AGSPopupsViewController *)popupsViewController wantsToHideViewController:(AGSViewController*)vc ofType:(AGSPopupViewControllerType)viewType;
189 
198 -(BOOL)popupsViewController:(AGSPopupsViewController *)popupsViewController shouldAutorotateForViewController:(UIViewController*)vc ofType:(AGSPopupViewControllerType)viewType;
199 
205 -(nullable UIView*)popupsViewController:(AGSPopupsViewController *)popupsViewController headerViewForPopup:(AGSPopup*)popup;
206 
212 -(nullable UIView*)popupsViewController:(AGSPopupsViewController *)popupsViewController footerViewForPopup:(AGSPopup*)popup;
213 
219 -(void)popupsViewController:(AGSPopupsViewController *)popupsViewController didChangeToCurrentPopup:(AGSPopup*)popup;
220 
227 -(void)popupsViewController:(AGSPopupsViewController *)popupsViewController wantsToPreviewDocumentAtURL:(NSURL*)documentURL fromViewController:(AGSViewController*)fvc atRect:(CGRect)rect;
228 
233 -(void)popupsViewController:(AGSPopupsViewController *)popupsViewController didChangeFeatureTypeForPopup:(AGSPopup *)popup;
234 
235 @end
236 
237 
AGSPopupViewControllerType
Definition: AGSPopupsViewControllerDelegate.h:35
@ AGSPopupViewControllerTypeFullMedia
Definition: AGSPopupsViewControllerDelegate.h:38
@ AGSPopupViewControllerTypeAlert
Definition: AGSPopupsViewControllerDelegate.h:42
@ AGSPopupViewControllerTypeAttributeInput
Definition: AGSPopupsViewControllerDelegate.h:41
@ AGSPopupViewControllerTypeContainer
Definition: AGSPopupsViewControllerDelegate.h:36
@ AGSPopupViewControllerTypeMovie
Definition: AGSPopupsViewControllerDelegate.h:40
@ AGSPopupViewControllerTypeWeb
Definition: AGSPopupsViewControllerDelegate.h:39
@ AGSPopupViewControllerTypeUIImagePicker
Definition: AGSPopupsViewControllerDelegate.h:37
#define AGSViewController
Definition: AGSViewController.h:32
A popup which displays a geo-element's information.
Definition: AGSPopup.h:43
A view controller for displaying popups.
Definition: AGSPopupsViewController.h:75
A class that allows the user to sketch geometries on the map.
Definition: AGSSketchEditor.h:75
A delegate of AGSPopupsViewController.
Definition: AGSPopupsViewControllerDelegate.h:56