The following members of class MobileMapPackage are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Signals
(deprecated) void | unpackCompleted(const QUuid &taskId, bool success) |
Static Public Members
(deprecated) Esri::ArcGISRuntime::TaskWatcher | unpack(const QString &mobileMapPackageFilePath, const QString &outputDirectory) |
Member Function Documentation
[static, since Esri::ArcGISRuntime 100.2]
Esri::ArcGISRuntime::TaskWatcher MobileMapPackage::unpack(const QString &mobileMapPackageFilePath , const QString &outputDirectory )
This function is deprecated. We strongly advise against using it in new code.
Unpacks the mobile map package at mobileMapPackageFilePath to the outputDirectory
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.
The unpack task writes the full content of the mobile map package to the output directory. Care should be taken on devices with limited storage space, especially if the original package is very large. After unpacking, you can remove the original .mmpk
file from the device.
Note that unpacking will fail if the package is expired and was authored as ExpirationType::preventExpiredAccess.
- mobileMapPackageFilePath - the path to a mobile map package file (
.mmpk
) - outputDirectory - a path to a directory to write the mobile map package contents.
This function was introduced in Esri::ArcGISRuntime 100.2.
[signal]
void MobileMapPackage::unpackCompleted (const QUuid &taskId , bool success)
This function is deprecated. We strongly advise against using it in new code.
Signal emitted when unpack completes.
- taskId - The task ID that this signal corresponds to.
- success - Whether the task was successful.