Skip To Content ArcGIS for Developers Sign In Dashboard

OfflineMapSyncParameters Class

(Esri::ArcGISRuntime::OfflineMapSyncParameters)

Parameters used for creating an OfflineMapSyncJob. More...

Header: #include <OfflineMapSyncParameters>
Since: Esri::ArcGISRuntime 100.1

Public Functions

OfflineMapSyncParameters()
OfflineMapSyncParameters(const OfflineMapSyncParameters &other)
OfflineMapSyncParameters(OfflineMapSyncParameters &&other)
~OfflineMapSyncParameters()
bool isRollbackOnFailure() const
PreplannedScheduledUpdatesOption preplannedScheduledUpdatesOption() const
void setPreplannedScheduledUpdatesOption(PreplannedScheduledUpdatesOption preplannedScheduledUpdatesOption)
void setRollbackOnFailure(bool rollbackOnFailure)
void setSyncDirection(SyncDirection syncDirection)
SyncDirection syncDirection() const
OfflineMapSyncParameters &operator=(const OfflineMapSyncParameters &other)
OfflineMapSyncParameters &operator=(OfflineMapSyncParameters &&other)

Detailed Description

Parameters used for creating an OfflineMapSyncJob.

Member Function Documentation

OfflineMapSyncParameters::OfflineMapSyncParameters()

Default constructor.

OfflineMapSyncParameters::OfflineMapSyncParameters(const OfflineMapSyncParameters &other)

Copy constructor from other OfflineMapSyncParameters.

OfflineMapSyncParameters::OfflineMapSyncParameters(OfflineMapSyncParameters &&other)

Move constructor from other OfflineMapSyncParameters.

OfflineMapSyncParameters::~OfflineMapSyncParameters()

Destructor.

bool OfflineMapSyncParameters::isRollbackOnFailure() const

Returns whether geodatabase synchronization should roll back on a failure.

PreplannedScheduledUpdatesOption OfflineMapSyncParameters::preplannedScheduledUpdatesOption() const

Returns whether scheduled updates will be downloaded from an online map area and applied to the map's data.

If the mobile geodatabases in your offline map were not registered for sync you can choose to download and apply those updates by setting this property to PreplannedScheduledUpdatesOption::DownloadAllUpdates.

You specify whether an offline map will make use of scheduled updates by setting the DownloadPreplannedOfflineMapParameters::updateMode property before downloading.

The default value is PreplannedScheduledUpdatesOption::downloadAllUpdates.

This function was introduced in Esri::ArcGISRuntime 100.6.

See also setPreplannedScheduledUpdatesOption().

void OfflineMapSyncParameters::setPreplannedScheduledUpdatesOption(PreplannedScheduledUpdatesOption preplannedScheduledUpdatesOption)

Sets the preplannedScheduledUpdatesOption to preplannedScheduledUpdatesOption.

This function was introduced in Esri::ArcGISRuntime 100.6.

See also preplannedScheduledUpdatesOption.

void OfflineMapSyncParameters::setRollbackOnFailure(bool rollbackOnFailure)

Sets whether geodatabase synchronization should roll back on a failure to rollbackOnFailure.

See also isRollbackOnFailure().

void OfflineMapSyncParameters::setSyncDirection(SyncDirection syncDirection)

Sets the synchronization direction to syncDirection.

See also syncDirection().

SyncDirection OfflineMapSyncParameters::syncDirection() const

Returns the synchronization direction.

See also setSyncDirection().

OfflineMapSyncParameters &OfflineMapSyncParameters::operator=(const OfflineMapSyncParameters &other)

Assignment operator from other OfflineMapSyncParameters.

OfflineMapSyncParameters &OfflineMapSyncParameters::operator=(OfflineMapSyncParameters &&other)

Move operator from other OfflineMapSyncParameters.


Feedback on this topic?