ArcGIS Runtime SDK for iOS: AGSSyncLayerOption.h Source File
ArcGIS Runtime SDK for iOS  100.11
AGSSyncLayerOption.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 #import <ArcGIS/AGSObject.h>
27 #import <ArcGIS/AGSGeodatabaseTaskTypes.h>
28  //Required for Globals API doc
30 
40 @interface AGSSyncLayerOption : AGSObject <NSCopying>
41 
42 
43 
44 #pragma mark -
45 #pragma mark initializers
46 
47 -(instancetype)init;
48 
53 -(instancetype)initWithLayerID:(NSInteger)layerID;
54 
60 -(instancetype)initWithLayerID:(NSInteger)layerID syncDirection:(AGSSyncDirection)syncDirection;
61 
65 +(instancetype)syncLayerOption;
66 
72 +(instancetype)syncLayerOptionWithLayerID:(NSInteger)layerID;
73 
80 +(instancetype)syncLayerOptionWithLayerID:(NSInteger)layerID syncDirection:(AGSSyncDirection)syncDirection;
81 
82 #pragma mark -
83 #pragma mark properties
84 
88 @property (nonatomic, assign, readwrite) NSInteger layerID;
89 
93 @property (nonatomic, assign, readwrite) AGSSyncDirection syncDirection;
94 
95 #pragma mark -
96 #pragma mark methods
97 
98 
99 
100 @end
AGSSyncDirection
Definition: AGSGeodatabaseTaskTypes.h:45
Definition: AGSObject.h:28
Sync parameters for a layer in a geodatabase.
Definition: AGSSyncLayerOption.h:40
instancetype syncLayerOption()
AGSSyncDirection syncDirection
Definition: AGSSyncLayerOption.h:93
NSInteger layerID
Definition: AGSSyncLayerOption.h:88
instancetype init()