ArcGIS Runtime SDK for iOS: AGSArcGISRuntimeEnvironment.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSArcGISRuntimeEnvironment.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 
27 
28 
29 @class AGSLicense;
30 @class AGSLicenseInfo;
31 @class AGSLicenseResult;
32  //Required for Globals API doc
34 
35 #pragma mark -
36 
43 @interface AGSArcGISRuntimeEnvironment : NSObject
44 
45 #pragma mark -
46 #pragma mark initializers
47 
48 
49 
50 #pragma mark -
51 #pragma mark properties
52 
61 @property (class, nonatomic, copy, readwrite) NSString *APIKey;
62 
63 #pragma mark -
64 #pragma mark methods
65 
70 
79 +(nullable AGSLicenseResult*)setLicenseKey:(NSString *)licenseKey error:(NSError**)error;
80 
89 +(nullable AGSLicenseResult*)setLicenseInfo:(AGSLicenseInfo *)licenseInfo error:(NSError**)error;
90 
100 +(nullable AGSLicenseResult*)setLicenseKey:(NSString *)licenseKey extensions:(NSArray<NSString*> *)extensions error:(NSError**)error;
101 
102 @end
103 
104 
Class representing the ArcGIS Runtime Environment.
Definition: AGSArcGISRuntimeEnvironment.h:44
NSString * APIKey
Definition: AGSArcGISRuntimeEnvironment.h:61
The application's license details.
Definition: AGSLicense.h:66
A class that contains information pertaining to a licensed named user.
Definition: AGSLicenseInfo.h:41
Result of setting a license.
Definition: AGSLicenseResult.h:40