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.15
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 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.

Note: The corresponding handler is onLayerIdAsIntChanged.

This signal was introduced in Esri.ArcGISRuntime 100.3.


layerIdChanged()

Emitted when the layerId property of this SyncLayerOption changes.

Note: The corresponding handler is onLayerIdChanged.


syncDirectionChanged()

Emitted when the syncDirection property of this SyncLayerOption changes.

Note: The corresponding handler is onSyncDirectionChanged.


Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close