ArcGIS Runtime SDK for iOS: AGSSubscriptionInfo.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSSubscriptionInfo.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/AGSJSONSerializable.h>
29 
30 
31 
36 typedef NS_ENUM(NSInteger, AGSSubscriptionState) {
44 };
45 
50 @interface AGSSubscriptionInfo : NSObject
51 
52 #pragma mark -
53 #pragma mark initializers
54 
55 
56 
57 #pragma mark -
58 #pragma mark properties
59 
63 @property (nullable, nonatomic, strong, readonly) NSDate *expiryDate;
64 
68 @property (nonatomic, assign, readonly) AGSSubscriptionState state;
69 
70 #pragma mark -
71 #pragma mark methods
72 
73 @end
74 
75 
AGSSubscriptionState
Definition: AGSSubscriptionInfo.h:36
@ AGSSubscriptionStateActive
Definition: AGSSubscriptionInfo.h:38
@ AGSSubscriptionStateDeleted
Definition: AGSSubscriptionInfo.h:40
@ AGSSubscriptionStateExpired
Definition: AGSSubscriptionInfo.h:41
@ AGSSubscriptionStateRestricted
Definition: AGSSubscriptionInfo.h:42
@ AGSSubscriptionStateSuspended
Definition: AGSSubscriptionInfo.h:43
@ AGSSubscriptionStateUnknown
Definition: AGSSubscriptionInfo.h:37
@ AGSSubscriptionStateCanceled
Definition: AGSSubscriptionInfo.h:39
Information about the user's subscription.
Definition: AGSSubscriptionInfo.h:51
AGSSubscriptionState state
Definition: AGSSubscriptionInfo.h:68
NSDate * expiryDate
Definition: AGSSubscriptionInfo.h:63