The following members of QML type MobileScenePackageUtility are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
- string isDirectReadSupported(url mobileScenePackageFilePath)
Emitted when the isDirectReadSupportedResult property changes.
Emitted when the isDirectReadSupportedStatus property changes.
Checks if a mobile scene package (
.mspk) file can be read directly. Always returns
true after deprecation in version 100.7.
This method asynchronously checks if the file specified by the mobileScenePackageFilePath 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 scene package. This method always returns a result of
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.