SyncLayerOption QML Type

  • Esri.ArcGISRuntime
  • SyncLayerOption
  • 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
    Since: Esri.ArcGISRuntime 100.0
    Inherits:

    Object

    Properties

    Signals

    Methods

    • SyncLayerOption clone()

    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 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 API property.

    See also layerIdAsInt.


    [since Esri.ArcGISRuntime 100.3] layerIdAsInt : int

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

    Note: The underlying 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 API 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

    [since Esri.ArcGISRuntime 100.3] 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.


    Method Documentation

    [since Esri.ArcGISRuntime 200.1] SyncLayerOption clone()

    Creates a deep copy of this object.

    This method was introduced in Esri.ArcGISRuntime 200.1.


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