ArcGIS Runtime SDK for iOS: AGSSyncLayerOption Class Reference
ArcGIS Runtime SDK for iOS  100.15
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

Creates an AGSSyncLayerOption object with provided values.

Parameters
layerIDID of the layer.
Since
100

◆ initWithLayerID:syncDirection:

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

Creates an AGSSyncLayerOption object with provided values.

Parameters
layerIDID of the layer.
syncDirectionDirection in which to synchronize data with the service.
Since
100

◆ syncLayerOption

+ (instancetype) syncLayerOption

Creates a new sync layer option.

Since
100.0

◆ syncLayerOptionWithLayerID:

+ (instancetype) syncLayerOptionWithLayerID: (NSInteger)  layerID

Creates a sync layer option with the provided values.

Parameters
layerIDID of the layer.
Returns
A new sync layer option.
Since
100

◆ syncLayerOptionWithLayerID:syncDirection:

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

Creates a sync layer option with the provided values.

Parameters
layerIDID of the layer.
syncDirectionDirection in which to synchronize data with the service.
Returns
A new sync layer option.
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