Skip To Content ArcGIS for Developers Sign In Dashboard

SyncLayerOption QML Type

Options defining how to sync edits for a specific layer or table when creating a sync-enabled mobile geodatabase. More...

Import Statement: import Esri.ArcGISRuntime 100.6
Since: Esri.ArcGISRuntime 100.0
Inherits:

Object

Properties

Signals

Detailed Description

A SyncLayerOption represents sync parameters for an individual layer in a sync-enabled geodatabase that uses the Enums.SyncModelLayer sync model.

See also SyncGeodatabaseParameters and Enums.SyncModel.

Property Documentation

layerId : string

The ID of the layer to table for which these options are defined.

Same ID as found in ArcGISFeatureLayerInfo::serverLayerID.

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

Note: layerId and layerIdAsInt can be used interchangeably. Both reference the same underlying Runtime property.

See also layerIdAsInt.


layerIdAsInt : int

The same as layerId but represented as an integer type (read-only).

Note: The underlying Runtime property is represented as a 64-bit integer type. See Accessing 64-bit integer properties from QML.

Note: layerIdAsInt and layerId can be used interchangeably. Both reference the same underlying Runtime property.

This QML property was introduced in Esri.ArcGISRuntime 100.3.


syncDirection : Enums.SyncDirection

The direction in which to sync data with the service.

See also Enums.SyncDirection.


Signal Documentation

layerIdAsIntChanged()

Emitted when the layerIdAsInt property of this SyncLayerOption changes.

This QML signal was introduced in Esri.ArcGISRuntime 100.3.


layerIdChanged()

Emitted when the layerId property of this SyncLayerOption changes.


syncDirectionChanged()

Emitted when the syncDirection property of this SyncLayerOption changes.



Feedback on this topic?