Obsolete Members for MobileMapPackage

  • 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.

    Signals

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

    Static Public Members

    (obsolete) Esri::ArcGISRuntime::TaskWatcher isDirectReadSupported(const QString &mobileMapPackageFilePath)

    Member Function Documentation

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

    This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

    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.

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

    This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

    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.

    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.