SyncCapabilities Class

  • SyncCapabilities
  • class Esri::ArcGISRuntime::SyncCapabilities

    Information about the capabilities supported by a sync-enabled service. More...

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

    This class was introduced in Esri::ArcGISRuntime 100.0.

    Public Functions

    SyncCapabilities(Esri::ArcGISRuntime::SyncCapabilities &&other)
    SyncCapabilities(const Esri::ArcGISRuntime::SyncCapabilities &other)
    SyncCapabilities()
    Esri::ArcGISRuntime::SyncCapabilities &operator=(Esri::ArcGISRuntime::SyncCapabilities &&other)
    Esri::ArcGISRuntime::SyncCapabilities &operator=(const Esri::ArcGISRuntime::SyncCapabilities &other)
    ~SyncCapabilities()
    bool isEmpty() const
    bool isSupportsAnnotations() const
    bool isSupportsAsync() const
    bool isSupportsAttachmentsSyncDirection() 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

    Detailed Description

    Member Function Documentation

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

    Move constructor from other SyncCapabilities.

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

    Copy constructor from other SyncCapabilities.

    SyncCapabilities::SyncCapabilities()

    Default constructor. Creates an empty SyncCapabilities.

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

    Move operator from other SyncCapabilities.

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

    Assignment operator from other SyncCapabilities.

    SyncCapabilities::~SyncCapabilities()

    Destructor.

    bool SyncCapabilities::isEmpty() const

    Returns true if this SyncCapabilities is empty.

    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.

    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.

    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.

    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.

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