Skip To Content ArcGIS for Developers Sign In Dashboard

LicenseResult Class


Runtime license result information. More...

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

Public Functions

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

Detailed Description

Runtime license result information.

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


Default constructor.

LicenseResult::LicenseResult(const LicenseResult &other)

Copy constructor from other LicenseResult.

LicenseResult::LicenseResult(LicenseResult &&other)

Move constructor from other LicenseResult.



QMap<QString, 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.

LicenseStatus LicenseResult::licenseStatus() const

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

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

Assignment operator from other LicenseResult.

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

Move operator from other LicenseResult.

Feedback on this topic?