The following members of QML type MobileMapPackageUtility are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Signals
- isDirectReadSupportedResultChanged()
(obsolete)
- isDirectReadSupportedStatusChanged()
(obsolete)
Methods
- string isDirectReadSupported(url mobileMapPackageFilePath)
(obsolete)
Signal Documentation
This signal is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Emitted when the isDirectReadSupportedResult property changes.
Note: The corresponding handler is onIsDirectReadSupportedResultChanged
.
This signal is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Emitted when the isDirectReadSupportedStatus property changes.
Note: The corresponding handler is onIsDirectReadSupportedStatusChanged
.
Method Documentation
This method is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Checks if a mobile map package (.mmpk
) file can be read directly. Always returns true
after deprecation in version 100.7.
This method asynchronously checks if the file specified by the mobileMapPackageFilePath can be read without unpacking.
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.
The isDirectReadSupportedStatusChanged signal emits when the operation is complete. Check the isDirectReadSupportedStatus to make sure the operation completed successfully. The result is then available through the isDirectReadSupportedResult property.
Returns a task ID that can be used to cancel the unpack task.