SyncLayerOption class final

Specifies a SyncDirection for any layer in the geodatabase.

If the geodatabase supports the SyncModel.layer synchronization model, you can add a SyncLayerOption to the SyncGeodatabaseParameters.layerOptions collection, to specify how individual the geodatabase layers and tables are synchronized.

The default sync direction for layers is bidirectional (SyncDirection.bidirectional). Therefore, you need to provide a SyncLayerOption if you do not want the default behavior.

Implemented types

Constructors

SyncLayerOption({int layerId = 0, SyncDirection syncDirection = SyncDirection.bidirectional})
Creates a new sync layer option with layer id and sync direction.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
layerId int
The layer or table Id to specify the SyncDirection.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
syncDirection SyncDirection
The synchronization direction for the specified layer or table Id.
getter/setter pair

Methods

clone() SyncLayerOption
Clones the SyncLayerOption.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited