LicenseResult Class

  • LicenseResult
  • class Esri::ArcGISRuntime::LicenseResult

    Runtime license result information. More...

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

    This class was introduced in Esri::ArcGISRuntime 100.0.

    Public Functions

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

    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 Runtime license status is obtained from the licenseStatus() function. Extension license statuses are obtained from the extentionStatus() function.

    See also License.

    Member Function Documentation

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

    Move constructor from other LicenseResult.

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

    Copy constructor from other LicenseResult.

    LicenseResult::LicenseResult()

    Default constructor.

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

    Move operator from other LicenseResult.

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

    Assignment operator from other LicenseResult.

    LicenseResult::~LicenseResult()

    Destructor

    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

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

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