ArcGIS Runtime SDK for iOS: AGSExpiration.h Source File
ArcGIS Runtime SDK for iOS  100.15
AGSExpiration.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 
30 
31 
35 typedef NS_ENUM(NSInteger, AGSExpirationType) {
38 };
39 
50 
51 #pragma mark -
52 #pragma mark initializers
53 
54 
55 
56 #pragma mark -
57 #pragma mark properties
58 
62 @property (nullable, nonatomic, strong, readonly) NSDate *dateTime;
63 
67 @property (nonatomic, assign, readonly, getter=isExpired) BOOL expired;
68 
72 @property (nonatomic, copy, readonly) NSString *message;
73 
77 @property (nonatomic, assign, readonly) AGSExpirationType expirationType;
78 
79 #pragma mark -
80 #pragma mark methods
81 
82 @end
83 
84 
AGSExpirationType
Definition: AGSExpiration.h:35
@ AGSExpirationTypePreventExpiredAccess
Definition: AGSExpiration.h:37
@ AGSExpirationTypeAllowExpiredAccess
Definition: AGSExpiration.h:36
Expiration details, that indicate whether a given package is out of date.
Definition: AGSExpiration.h:50
NSString * message
Definition: AGSExpiration.h:72
BOOL expired
Definition: AGSExpiration.h:67
AGSExpirationType expirationType
Definition: AGSExpiration.h:77
NSDate * dateTime
Definition: AGSExpiration.h:62
Definition: AGSObject.h:28