ArcGIS Runtime SDK for iOS: AGSLicense.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSLicense.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  //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 
65 @interface AGSLicense : AGSObject
66 
67 #pragma mark
68 #pragma mark initializers
69 
70 
71 
72 #pragma mark
73 #pragma mark properties
74 
78 @property (nonatomic, strong, readonly, nullable) NSDate *expiry;
79 
83 @property (nonatomic, copy, readonly) NSArray<AGSExtensionLicense*> *extensions;
84 
88 @property (nonatomic, assign, readonly) AGSLicenseLevel licenseLevel;
89 
93 @property (nonatomic, assign, readonly) AGSLicenseStatus licenseStatus;
94 
98 @property (nonatomic, assign, readonly) AGSLicenseType licenseType;
99 
103 @property (nonatomic, assign, readonly, getter=isPermanent) BOOL permanent;
104 
105 #pragma mark
106 #pragma mark methods
107 
108 @end
109 
110 
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:66
AGSLicenseLevel licenseLevel
Definition: AGSLicense.h:88
AGSLicenseType licenseType
Definition: AGSLicense.h:98
NSDate * expiry
Definition: AGSLicense.h:78
BOOL permanent
Definition: AGSLicense.h:103
NSArray< AGSExtensionLicense * > * extensions
Definition: AGSLicense.h:83
AGSLicenseStatus licenseStatus
Definition: AGSLicense.h:93
Definition: AGSObject.h:28