ArcGIS Runtime SDK for iOS: AGSKMLDataset.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSKMLDataset.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/AGSLoadableBase.h>
27 #import <ArcGIS/AGSRemoteResource.h>
28 #import <ArcGIS/AGSKMLNode.h>
29 
30 @class AGSKMLNetworkLink;
31  //Required for Globals API doc
33 
44 
45 
46 
47 #pragma mark -
48 #pragma mark initializers
49 
50 
51 
58 -(instancetype)initWithURL:(NSURL*)URL;
59 
67 -(instancetype)initWithName:(NSString *)name;
68 
75 -(instancetype)initWithRootNode:(AGSKMLNode *)rootNode;
76 
83 +(instancetype)KMLDatasetWithURL:(NSURL*)URL;
84 
93 +(instancetype)KMLDatasetWithName:(NSString *)name;
94 
102 +(instancetype)KMLDatasetWithRootNode:(AGSKMLNode *)rootNode;
103 
104 #pragma mark -
105 #pragma mark properties
106 
113 @property (nonatomic, copy, readonly) NSArray<AGSKMLNode*> *rootNodes;
114 
122 @property (nullable, nonatomic, copy, readwrite) void (^networkLinkMessageHandler)(AGSKMLNetworkLink *networkLink, NSString *message);
123 
129 @property (nullable, nonatomic, copy, readwrite) void (^nodeRefreshStatusChangedHandler)(AGSKMLNode *node, AGSKMLRefreshStatus refreshStatus);
130 
136 @property (nullable, nonatomic, copy, readwrite) void (^nodeBalloonVisibilityChangedHandler)(AGSKMLNode *node, BOOL balloonVisibility);
137 
138 #pragma mark -
139 #pragma mark methods
140 
141 
142 
143 @end
AGSKMLRefreshStatus
Definition: AGSKMLNode.h:39
A KML dataset.
Definition: AGSKMLDataset.h:43
void(^ networkLinkMessageHandler)(AGSKMLNetworkLink *networkLink, NSString *message)
void(^ nodeRefreshStatusChangedHandler)(AGSKMLNode *node, AGSKMLRefreshStatus refreshStatus)
NSArray< AGSKMLNode * > * rootNodes
Definition: AGSKMLDataset.h:113
void(^ nodeBalloonVisibilityChangedHandler)(AGSKMLNode *node, BOOL balloonVisibility)
A single node within a KML document.
Definition: AGSKMLNode.h:56
A base class for loadables.
Definition: AGSLoadableBase.h:45
A protocol adopted by classes that access remote network resources that have the potential to be secu...
Definition: AGSRemoteResource.h:40