ArcGIS Runtime SDK for iOS: AGSArcGISRuntimeEnvironment.h Source File
ArcGIS Runtime SDK for iOS  100.14
AGSArcGISRuntimeEnvironment.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 
27 
28 
40 typedef NS_ENUM(NSInteger, AGSServiceCurveGeometryMode) {
44 };
45 
46 @class AGSLicense;
47 @class AGSLicenseInfo;
48 @class AGSLicenseResult;
50  //Required for Globals API doc
52 
53 #pragma mark -
54 
61 @interface AGSArcGISRuntimeEnvironment : NSObject
62 
63 #pragma mark -
64 #pragma mark initializers
65 
66 
67 
68 #pragma mark -
69 #pragma mark properties
70 
98 @property (class, nonatomic, copy, readwrite) NSString *APIKey;
99 
127 @property (class, nonatomic, assign, readwrite) AGSServiceCurveGeometryMode serviceCurveGeometryMode;
128 
136 @property (class, nullable, nonatomic, copy, readwrite) void (^arcadeConsoleMessageHandler)(AGSArcadeConsoleMessageContext *context, NSString *message);
137 
138 #pragma mark -
139 #pragma mark methods
140 
145 
154 +(nullable AGSLicenseResult*)setLicenseKey:(NSString *)licenseKey error:(NSError**)error;
155 
164 +(nullable AGSLicenseResult*)setLicenseInfo:(AGSLicenseInfo *)licenseInfo error:(NSError**)error;
165 
175 +(nullable AGSLicenseResult*)setLicenseKey:(NSString *)licenseKey extensions:(NSArray<NSString*> *)extensions error:(NSError**)error;
176 
177 @end
178 
179 
AGSServiceCurveGeometryMode
Definition: AGSArcGISRuntimeEnvironment.h:40
@ AGSServiceCurveGeometryModeTrueCurveClient
Definition: AGSArcGISRuntimeEnvironment.h:43
@ AGSServiceCurveGeometryModeDensifyCurves
Definition: AGSArcGISRuntimeEnvironment.h:41
@ AGSServiceCurveGeometryModeFetchCurves
Definition: AGSArcGISRuntimeEnvironment.h:42
Class representing the ArcGIS Runtime Environment.
Definition: AGSArcGISRuntimeEnvironment.h:62
void(^ arcadeConsoleMessageHandler)(AGSArcadeConsoleMessageContext *context, NSString *message)
NSString * APIKey
Definition: AGSArcGISRuntimeEnvironment.h:98
AGSServiceCurveGeometryMode serviceCurveGeometryMode
Definition: AGSArcGISRuntimeEnvironment.h:127
Provides information about the execution context where an Arcade console function is invoked.
Definition: AGSArcadeConsoleMessageContext.h:39
The application's license details.
Definition: AGSLicense.h:89
A class that contains information pertaining to a licensed named user.
Definition: AGSLicenseInfo.h:41
Result of setting a license.
Definition: AGSLicenseResult.h:40