Skip To Content ArcGIS for Developers Sign In Dashboard

Obsolete Members for MobileMapPackage

The following members of class MobileMapPackage are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.


(obsolete) void isDirectReadSupportedCompleted(QUuid taskId, bool directReadSupported)

Static Public Members

(obsolete) TaskWatcher isDirectReadSupported(const QString &mobileMapPackageFilePath)
  • 1 static public member inherited from QObject

Member Function Documentation

[static] TaskWatcher MobileMapPackage::isDirectReadSupported(const QString &mobileMapPackageFilePath)

Checks if the mobile map package at mobileMapPackageFilePath can be read directly without requiring to be unpacked. Always returns true after deprecation in version 100.7.

Prior to Esri::ArcGISRuntime 100.7 some data formats could only be accessed if they were present on disk, for example, RasterLayer. In these situations, this method would return false and you would need to unpack the package to access the data.

From Esri::ArcGISRuntime 100.7 and onwards this limitation has been removed allowing the data to be read directly from the mobile map package. This method always returns a result of true.

Since this method is no longer required it can be removed from calling code including any subsequent use of unpack.

This method returns a TaskWatcher for the asynchronous operation. Connect to the MobileMapPackage singleton provided by the instance() method to determine when the operation is completed.

This function was introduced in Esri::ArcGISRuntime 100.2.

[signal] void MobileMapPackage::isDirectReadSupportedCompleted(QUuid taskId, bool directReadSupported)

Signal emitted when isDirectReadSupported completes.

  • taskId - The task ID that this signal corresponds to.
  • directReadSupported - Whether the mobile map package file can be read directly.

Feedback on this topic?