The following members of class OfflineMapSyncTask are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Functions
(deprecated) Esri::ArcGISRuntime::TaskWatcher | checkForUpdates() |
(deprecated) Esri::ArcGISRuntime::TaskWatcher | createDefaultOfflineMapSyncParameters() |
Signals
(deprecated) void | checkForUpdatesCompleted(const QUuid &taskId, Esri::ArcGISRuntime::OfflineMapUpdatesInfo *updatesInfo) |
(deprecated) void | createDefaultOfflineMapSyncParametersCompleted(const QUuid &taskId, const Esri::ArcGISRuntime::OfflineMapSyncParameters ¶meters) |
Member Function Documentation
[since Esri::ArcGISRuntime 100.6]
Esri::ArcGISRuntime::TaskWatcher OfflineMapSyncTask::checkForUpdates ()
This function is deprecated. We strongly advise against using it in new code.
Asynchronously retrieves an OfflineMapUpdatesInfo for the map that was used to construct this task.
Returns a TaskWatcher for this asynchronous operation.
The returned OfflineMapUpdatesInfo provides high level information on what updates are available for this offline map. Information is provided on:
- Online changes that can be applied to update your offline map.
- Local changes from your offline map that can be sent back to the online services.
Calling this method before calling syncOfflineMap provides high-level information on available updates before starting a potentially time-consuming offline map sync process. It can help you to determine whether you should call syncOfflineMap immediately, based upon factors such as current disk space and network availability.
The returned OfflineMapUpdatesInfo provides a snap-shot of available updates when this method was called. To check for new updates you need to call this method again.
This function was introduced in Esri::ArcGISRuntime 100.6.
See also checkForUpdatesCompleted.
[signal, since Esri::ArcGISRuntime 100.6]
void OfflineMapSyncTask::checkForUpdatesCompleted (const QUuid &taskId , Esri::ArcGISRuntime::OfflineMapUpdatesInfo *updatesInfo )
This function is deprecated. We strongly advise against using it in new code.
Emitted when the checkForUpdates operation completes.
- taskId - The task ID of the asynchronous operation.
- updatesInfo - Information on available updates for the map that was used to construct this task.
The returned OfflineMapUpdatesInfo object has the OfflineMapSyncTask as its parent.
This function was introduced in Esri::ArcGISRuntime 100.6.
See also Returned QObjects Parenting.
[since Esri::ArcGISRuntime 100.6]
Esri::ArcGISRuntime::TaskWatcher OfflineMapSyncTask::createDefaultOfflineMapSyncParameters ()
This function is deprecated. We strongly advise against using it in new code.
Asynchronously retrieves an OfflineMapSyncParameters for the map that was used to construct this task.
Returns a TaskWatcher for this asynchronous operation.
The parameters will be pre-populated with values appropriate for updating the feature data in this offline map.
The default parameters will reflect the mobile geodatabases used by the offline map.
This function was introduced in Esri::ArcGISRuntime 100.6.
See also createDefaultOfflineMapSyncParametersCompleted.
[signal, since Esri::ArcGISRuntime 100.6]
void OfflineMapSyncTask::createDefaultOfflineMapSyncParametersCompleted (const QUuid &taskId , const Esri::ArcGISRuntime::OfflineMapSyncParameters ¶meters)
This function is deprecated. We strongly advise against using it in new code.
Emitted when the createDefaultOfflineMapSyncParameters operation completes.
- taskId - The task ID of the asynchronous operation.
- parameters - The default parameters for the map that was used to construct this task.
This function was introduced in Esri::ArcGISRuntime 100.6.