ArcGIS Runtime SDK for iOS: AGSDictionarySymbolStyle.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSDictionarySymbolStyle.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/AGSSymbolStyle.h>
27 #import <ArcGIS/AGSCancelable.h>
28 
30 @class AGSSymbol;
31  //Required for Globals API doc
33 
51 
52 
53 
54 #pragma mark -
55 #pragma mark initializers
56 
57 
58 
63 -(instancetype)initWithURL:(NSURL *)URL;
64 
69 +(instancetype)dictionarySymbolStyleWithURL:(NSURL *)URL;
70 
76 -(instancetype)initWithName:(NSString*)name;
77 
83 +(instancetype)dictionarySymbolStyleWithName:(NSString*)name;
84 
92 - (instancetype)initWithPortalItem:(AGSPortalItem *)portalItem;
93 
101 + (instancetype)dictionarySymbolStyleWithPortalItem:(AGSPortalItem *)portalItem;
102 
103 #pragma mark -
104 #pragma mark properties
105 
109 @property (nonatomic, copy, readonly) NSArray<AGSDictionarySymbolStyleConfiguration *> *configurations;
110 
114 @property (nonatomic, copy, readonly) NSString *dictionaryName;
115 
121 @property (nonatomic, copy, readonly) NSArray<NSString*> *symbologyFieldNames;
122 
129 @property (nonatomic, copy, readonly) NSArray<NSString*> *textFieldNames;
130 
131 #pragma mark -
132 #pragma mark methods
133 
134 
143 -(id<AGSCancelable>)symbolWithAttributes:(NSDictionary<NSString*, id> *)attributes completion:(void(^)(AGSSymbol * __nullable symbol, NSError * __nullable error))completion;
144 
145 @end
146 
148 
154 -(instancetype)initWithFileURL:(NSURL *)fileURL ;
155 
161 +(instancetype)dictionarySymbolStyleWithFileURL:(NSURL *)fileURL ;
162 
169 -(instancetype)initWithSpecificationType:(NSString *)specificationType ;
170 
177 +(instancetype)dictionarySymbolStyleWithSpecificationType:(NSString *)specificationType ;
178 
186 -(instancetype)initWithSpecificationType:(NSString *)specificationType
187  styleURL:(NSURL *)styleURL ;
188 
196 +(instancetype)dictionarySymbolStyleWithSpecificationType:(NSString *)specificationType
197  styleURL:(NSURL *)styleURL ;
198 
203 @property (nonatomic, copy, readwrite) NSDictionary<NSString *, NSString *> *configurationProperties ;
204 
209 @property (nonatomic, copy, readonly) NSString *specificationType ;
210 
211 @end
212 
213 
Definition: AGSDictionarySymbolStyle.h:147
Configuration settings for a custom AGSDictionarySymbolStyle.
Definition: AGSDictionarySymbolStyleConfiguration.h:38
A dictionary symbol style object containing symbol primitives and rules for generating symbols from a...
Definition: AGSDictionarySymbolStyle.h:51
NSString * dictionaryName
Definition: AGSDictionarySymbolStyle.h:114
NSArray< AGSDictionarySymbolStyleConfiguration * > * configurations
Definition: AGSDictionarySymbolStyle.h:109
NSArray< NSString * > * symbologyFieldNames
Definition: AGSDictionarySymbolStyle.h:121
NSArray< NSString * > * textFieldNames
Definition: AGSDictionarySymbolStyle.h:129
Object representing a unit of content in an ArcGIS portal.
Definition: AGSPortalItem.h:93
A symbol used to display a graphic or a feature.
Definition: AGSSymbol.h:93
A symbol style object.
Definition: AGSSymbolStyle.h:55
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38