LicenseResult Class

  • LicenseResult
  • class Esri::ArcGISRuntime::LicenseResult

    The status of the license and any extension licenses. More...

    Header: #include <LicenseResult.h>
    Since: Esri::ArcGISRuntime 100.0

    Public Functions

    LicenseResult(const Esri::ArcGISRuntime::LicenseResult &other)
    LicenseResult(Esri::ArcGISRuntime::LicenseResult &&other)
    QMap<QString, Esri::ArcGISRuntime::LicenseStatus> extensionsStatus() const
    bool isEmpty() const
    Esri::ArcGISRuntime::LicenseStatus licenseStatus() const
    Esri::ArcGISRuntime::LicenseResult &operator=(const Esri::ArcGISRuntime::LicenseResult &other)
    Esri::ArcGISRuntime::LicenseResult &operator=(Esri::ArcGISRuntime::LicenseResult &&other)

    Detailed Description

    License result information is returned from the ArcGISRuntimeEnvironment functions which set a deployment license for the app. The LicenseResult contains license status information to inform the user whether the license or licenses provided are Valid, Invalid, Expired, or if a portal login is necessary (LoginRequired).

    The ArcGIS Maps SDK license status is obtained from the licenseStatus() function. Extension license statuses are obtained from the extensionsStatus() function.

    See also License.

    Member Function Documentation


    Default constructor.

    LicenseResult::LicenseResult(const Esri::ArcGISRuntime::LicenseResult &other)

    Copy constructor from other LicenseResult.

    LicenseResult::LicenseResult(Esri::ArcGISRuntime::LicenseResult &&other)

    Move constructor from other LicenseResult.



    [since Esri::ArcGISRuntime 100.2] QMap<QString, Esri::ArcGISRuntime::LicenseStatus> LicenseResult::extensionsStatus() const

    Returns a map of extension license statuses that were supplied to the app.

    If no extension licenses were supplied, this method returns an empty map.

    This function was introduced in Esri::ArcGISRuntime 100.2.

    bool LicenseResult::isEmpty() const

    Returns true if the license result is empty.

    Esri::ArcGISRuntime::LicenseStatus LicenseResult::licenseStatus() const

    Returns the license status from a call to ArcGISRuntimeEnvironment::setLicense(const QString&).

    Esri::ArcGISRuntime::LicenseResult &LicenseResult::operator=(const Esri::ArcGISRuntime::LicenseResult &other)

    Assignment operator from other LicenseResult.

    Esri::ArcGISRuntime::LicenseResult &LicenseResult::operator=(Esri::ArcGISRuntime::LicenseResult &&other)

    Move operator from other LicenseResult.

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