ArcGIS Runtime SDK for iOS: AGSDictionarySymbolStyle.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSDictionarySymbolStyle.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 
25 #import <Foundation/Foundation.h>
26 #import <ArcGIS/AGSSymbolStyle.h>
27 
29 @class AGSSymbol;
30  //Required for Globals API doc
32 
50 
51 
52 
53 #pragma mark -
54 #pragma mark initializers
55 
56 
57 
62 -(instancetype)initWithURL:(NSURL *)URL;
63 
68 +(instancetype)dictionarySymbolStyleWithURL:(NSURL *)URL;
69 
75 -(instancetype)initWithName:(NSString*)name;
76 
82 +(instancetype)dictionarySymbolStyleWithName:(NSString*)name;
83 
91 - (instancetype)initWithPortalItem:(AGSPortalItem *)portalItem;
92 
100 + (instancetype)dictionarySymbolStyleWithPortalItem:(AGSPortalItem *)portalItem;
101 
102 #pragma mark -
103 #pragma mark properties
104 
108 @property (nonatomic, copy, readonly) NSArray<AGSDictionarySymbolStyleConfiguration *> *configurations;
109 
113 @property (nonatomic, copy, readonly) NSString *dictionaryName;
114 
120 @property (nonatomic, copy, readonly) NSArray<NSString*> *symbologyFieldNames;
121 
128 @property (nonatomic, copy, readonly) NSArray<NSString*> *textFieldNames;
129 
130 #pragma mark -
131 #pragma mark methods
132 
133 
142 -(id<AGSCancelable>)symbolWithAttributes:(NSDictionary<NSString*, id> *)attributes completion:(void(^)(AGSSymbol * __nullable symbol, NSError * __nullable error))completion;
143 
144 @end
145 
147 
153 -(instancetype)initWithFileURL:(NSURL *)fileURL ;
154 
160 +(instancetype)dictionarySymbolStyleWithFileURL:(NSURL *)fileURL ;
161 
168 -(instancetype)initWithSpecificationType:(NSString *)specificationType ;
169 
176 +(instancetype)dictionarySymbolStyleWithSpecificationType:(NSString *)specificationType ;
177 
185 -(instancetype)initWithSpecificationType:(NSString *)specificationType
186  styleURL:(NSURL *)styleURL ;
187 
195 +(instancetype)dictionarySymbolStyleWithSpecificationType:(NSString *)specificationType
196  styleURL:(NSURL *)styleURL ;
197 
202 @property (nonatomic, copy, readwrite) NSDictionary<NSString *, NSString *> *configurationProperties ;
203 
208 @property (nonatomic, copy, readonly) NSString *specificationType ;
209 
210 @end
211 
212 
Definition: AGSDictionarySymbolStyle.h:146
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:50
NSString * dictionaryName
Definition: AGSDictionarySymbolStyle.h:113
NSArray< AGSDictionarySymbolStyleConfiguration * > * configurations
Definition: AGSDictionarySymbolStyle.h:108
NSArray< NSString * > * symbologyFieldNames
Definition: AGSDictionarySymbolStyle.h:120
NSArray< NSString * > * textFieldNames
Definition: AGSDictionarySymbolStyle.h:128
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:91
A symbol style object.
Definition: AGSSymbolStyle.h:56
A protocol exposed by operations that allow cancellation.
Definition: AGSCancelable.h:38