ArcGIS Runtime SDK for iOS: AGSLicense.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSLicense.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  //Required for Globals API doc
26 
27 #import <Foundation/Foundation.h>
28 #import <ArcGIS/AGSObject.h>
29 #import <ArcGIS/AGSLicenseStatus.h>
30 
31 
32 
37 typedef NS_ENUM(NSInteger, AGSLicenseLevel) {
43 };
44 
49 typedef NS_ENUM(NSInteger, AGSLicenseType) {
53 };
54 
55 @class AGSExtensionLicense;
56 
57 #pragma mark -
58 
88 @interface AGSLicense : AGSObject
89 
90 #pragma mark
91 #pragma mark initializers
92 
93 
94 
95 #pragma mark
96 #pragma mark properties
97 
104 @property (nonatomic, strong, readonly, nullable) NSDate *expiry;
105 
117 @property (nonatomic, copy, readonly) NSArray<AGSExtensionLicense*> *extensions;
118 
124 @property (nonatomic, assign, readonly) AGSLicenseLevel licenseLevel;
125 
129 @property (nonatomic, assign, readonly) AGSLicenseStatus licenseStatus;
130 
140 @property (nonatomic, assign, readonly) AGSLicenseType licenseType;
141 
145 @property (nonatomic, assign, readonly, getter=isPermanent) BOOL permanent;
146 
147 #pragma mark
148 #pragma mark methods
149 
150 @end
151 
152 
AGSLicenseLevel
Definition: AGSLicense.h:37
@ AGSLicenseLevelAdvanced
Definition: AGSLicense.h:42
@ AGSLicenseLevelLite
Definition: AGSLicense.h:39
@ AGSLicenseLevelBasic
Definition: AGSLicense.h:40
@ AGSLicenseLevelStandard
Definition: AGSLicense.h:41
@ AGSLicenseLevelDeveloper
Definition: AGSLicense.h:38
AGSLicenseType
Definition: AGSLicense.h:49
@ AGSLicenseTypeLicenseKey
Definition: AGSLicense.h:52
@ AGSLicenseTypeNamedUser
Definition: AGSLicense.h:51
@ AGSLicenseTypeDeveloper
Definition: AGSLicense.h:50
AGSLicenseStatus
Definition: AGSLicenseStatus.h:35
The application's extension license details.
Definition: AGSExtensionLicense.h:40
The application's license details.
Definition: AGSLicense.h:89
AGSLicenseLevel licenseLevel
Definition: AGSLicense.h:124
AGSLicenseType licenseType
Definition: AGSLicense.h:140
NSDate * expiry
Definition: AGSLicense.h:104
BOOL permanent
Definition: AGSLicense.h:145
NSArray< AGSExtensionLicense * > * extensions
Definition: AGSLicense.h:117
AGSLicenseStatus licenseStatus
Definition: AGSLicense.h:129
Definition: AGSObject.h:28