ArcGIS Runtime SDK for iOS: AGSSyncLayerOption Class Reference
ArcGIS Runtime SDK for iOS  100.9
AGSSyncLayerOption Class Reference

Description

Sync parameters for a layer in a geodatabase.

Instances of this class represent sync parameters for an individual layer in a sync-enabled geodatabase that uses the AGSSyncModelLayer sync model

Since
100
See also
AGSSyncGeodatabaseParameters
Inheritance diagram for AGSSyncLayerOption:
AGSObject

Instance Methods

(instancetype) - init
 
(instancetype) - initWithLayerID:
 
(instancetype) - initWithLayerID:syncDirection:
 

Class Methods

(instancetype) + syncLayerOption
 
(instancetype) + syncLayerOptionWithLayerID:
 
(instancetype) + syncLayerOptionWithLayerID:syncDirection:
 

Properties

NSInteger layerID
 
AGSSyncDirection syncDirection
 

Method Documentation

§ init()

- (instancetype) init

§ initWithLayerID:()

- (instancetype) initWithLayerID: (NSInteger)  layerID

Initialize this object with provided values

Parameters
layerIDID of the layer
Returns
initialized object
Since
100

§ initWithLayerID:syncDirection:()

- (instancetype) initWithLayerID: (NSInteger)  layerID
syncDirection: (AGSSyncDirection syncDirection 

Initialize this object with provided values

Parameters
layerIDID of the layer
syncDirectiondirection in which to synchronize data with the service
Returns
initialized object
Since
100

§ syncLayerOption()

+ (instancetype) syncLayerOption

§ syncLayerOptionWithLayerID:()

+ (instancetype) syncLayerOptionWithLayerID: (NSInteger)  layerID

Initialize this object with provided values

Parameters
layerIDID of the layer
Returns
initialized object
Since
100

§ syncLayerOptionWithLayerID:syncDirection:()

+ (instancetype) syncLayerOptionWithLayerID: (NSInteger)  layerID
syncDirection: (AGSSyncDirection syncDirection 

Initialize this object with provided values

Parameters
layerIDID of the layer
syncDirectiondirection in which to synchronize data with the service
Returns
initialized object
Since
100

Property Documentation

§ layerID

- (NSInteger) layerID
readwritenonatomicassign

ID of the layer

Since
100

§ syncDirection

- (AGSSyncDirection) syncDirection
readwritenonatomicassign

Direction in which to synchronize the layer's data with the service

Since
100