SyncCapabilities Class

  • SyncCapabilities
  • class Esri::ArcGISRuntime::SyncCapabilities

    An object that identifies the various synchronization capabilities of an ArcGIS feature service. More...

    Header: #include <SyncCapabilities.h>
    Since: Esri::ArcGISRuntime 100.0

    Public Functions

    SyncCapabilities()
    SyncCapabilities(const Esri::ArcGISRuntime::SyncCapabilities &other)
    SyncCapabilities(Esri::ArcGISRuntime::SyncCapabilities &&other)
    ~SyncCapabilities()
    bool isEmpty() const
    bool isSupportsAnnotations() const
    bool isSupportsAsync() const
    bool isSupportsAttachmentsSyncDirection() const
    bool isSupportsBranchVersionReconcile() const
    bool isSupportsContingentValues() const
    bool isSupportsDimensions() const
    bool isSupportsRegisteringExistingData() const
    bool isSupportsRollbackOnFailure() const
    bool isSupportsSyncDirectionControl() const
    bool isSupportsSyncModelGeodatabase() const
    bool isSupportsSyncModelLayer() const
    bool isSupportsSyncModelNone() const
    bool isSupportsUtilityNetworkSystem() const
    bool isSupportsUtilityNetworkTopology() const
    Esri::ArcGISRuntime::SyncCapabilities &operator=(const Esri::ArcGISRuntime::SyncCapabilities &other)
    Esri::ArcGISRuntime::SyncCapabilities &operator=(Esri::ArcGISRuntime::SyncCapabilities &&other)

    Detailed Description

    Member Function Documentation

    SyncCapabilities::SyncCapabilities()

    Default constructor. Creates an empty SyncCapabilities.

    SyncCapabilities::SyncCapabilities(const Esri::ArcGISRuntime::SyncCapabilities &other)

    Copy constructor from other SyncCapabilities.

    SyncCapabilities::SyncCapabilities(Esri::ArcGISRuntime::SyncCapabilities &&other)

    Move constructor from other SyncCapabilities.

    SyncCapabilities::~SyncCapabilities()

    Destructor.

    bool SyncCapabilities::isEmpty() const

    Returns true if this SyncCapabilities is empty.

    [since Esri::ArcGISRuntime 100.14] bool SyncCapabilities::isSupportsAnnotations() const

    Returns if Annotation data is available for downloading.

    Feature layers and tables are always included in the generation and synchronization of the geodatabase. This property indicates whether Annotation data is also available from the service, for generation of, or downloading to, an offline geodatabase.

    After this data is taken offline to a local geodatabase, any inserts, edits, or deletions will NOT be applied to the server data when the geodatabase is re-synchronized. If features linked to the annotation have been changed, the server WILL apply the feature-linked annotation updates. Another download from the server will replace any offline inserts, edits, or deletions of Annotation features.

    This function was introduced in Esri::ArcGISRuntime 100.14.

    See also GenerateGeodatabaseParameters::isSyncAnnotations.

    bool SyncCapabilities::isSupportsAsync() const

    Returns true if the service supports asynchronous operations. This avoids server timeouts.

    bool SyncCapabilities::isSupportsAttachmentsSyncDirection() const

    Returns true if the service supports options to define how attachments will be synced.

    [since Esri::ArcGISRuntime 200.5] bool SyncCapabilities::isSupportsBranchVersionReconcile() const

    Returns true if reconciling replica branch versions with default branch upon sync is supported, false otherwise. If this value is true, SyncGeodatabaseParameters::isReconcileBranchVersion can be used with GeodatabaseSyncTask.

    This function was introduced in Esri::ArcGISRuntime 200.5.

    See also SyncGeodatabaseParameters::isReconcileBranchVersion.

    [since Esri::ArcGISRuntime 100.13] bool SyncCapabilities::isSupportsContingentValues() const

    Returns if Contingent Value data is available.

    Feature layers and tables are always included in the generation and synchronization of the geodatabase. This property indicates whether Contingent Value data is also available from the service, for generation of an offline geodatabase and for resynchronization.

    This function was introduced in Esri::ArcGISRuntime 100.13.

    See also GenerateGeodatabaseParameters::isSyncContingentValues.

    [since Esri::ArcGISRuntime 100.14] bool SyncCapabilities::isSupportsDimensions() const

    Returns if Dimension data is available.

    Feature layers and tables are always included in the generation and synchronization of the geodatabase. This property indicates whether Dimension data is also available from the service, for generating an offline geodatabase and for resynchronization.

    This function was introduced in Esri::ArcGISRuntime 100.14.

    See also GenerateGeodatabaseParameters::isSyncDimensions.

    bool SyncCapabilities::isSupportsRegisteringExistingData() const

    Returns true if the service supports registering an existing mobile geodatabase (*.geodatabase file) as new a sync-enabled geodatabase.

    This is useful when you already have a geodatabase that you want to sync on multiple devices independently without affecting each other.

    bool SyncCapabilities::isSupportsRollbackOnFailure() const

    Returns true if the service supports rolling back edits in case of a failure during sync operations.

    bool SyncCapabilities::isSupportsSyncDirectionControl() const

    Returns true if the service allows the client application to control direction of sync

    This directions include upload only, download only, or bi-directional.

    bool SyncCapabilities::isSupportsSyncModelGeodatabase() const

    Returns true if the service supports sync capabilities for the entire sync-enabled geodatabase.

    All layers in the geodatabase will be synchronized together in the same direction.

    bool SyncCapabilities::isSupportsSyncModelLayer() const

    Returns true if the service supports sync capabilities independently on a layer-by-layer basis in the sync-enabled geodatabase.

    For example, one layer can upload changes while another downloads during sync. A perLayer sync model also allows clients to limit the sync to a subset of layers in the geodatabase.

    bool SyncCapabilities::isSupportsSyncModelNone() const

    Returns true if no sync model is supported.

    [since Esri::ArcGISRuntime 100.11] bool SyncCapabilities::isSupportsUtilityNetworkSystem() const

    Returns if Utility Network System data is available.

    Feature layers and tables are always included in the generation and synchronization of the geodatabase. This property indicates whether Utility Network System data is also available from the service, for generation of an offline geodatabase, and for resynchronization.

    This function was introduced in Esri::ArcGISRuntime 100.11.

    See also GenerateGeodatabaseParameters::utilityNetworkSyncMode.

    [since Esri::ArcGISRuntime 200.1] bool SyncCapabilities::isSupportsUtilityNetworkTopology() const

    Returns if utility network topology data is available.

    When syncing Utility Network data, feature layers and tables are always included in the generation and synchronization of the geodatabase. This property indicates whether utility network topology data is also available from the service, for generation of an offline geodatabase and for resynchronization.

    This function was introduced in Esri::ArcGISRuntime 200.1.

    See also GenerateGeodatabaseParameters::utilityNetworkSyncMode.

    Esri::ArcGISRuntime::SyncCapabilities &SyncCapabilities::operator=(const Esri::ArcGISRuntime::SyncCapabilities &other)

    Assignment operator from other SyncCapabilities.

    Esri::ArcGISRuntime::SyncCapabilities &SyncCapabilities::operator=(Esri::ArcGISRuntime::SyncCapabilities &&other)

    Move operator from other SyncCapabilities.

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