Details of an extension license. More...
Header: | #include <ExtensionLicense.h> |
Since: | Esri::ArcGISRuntime 100.0 |
Public Functions
ExtensionLicense() | |
ExtensionLicense(const Esri::ArcGISRuntime::ExtensionLicense &other) | |
ExtensionLicense(Esri::ArcGISRuntime::ExtensionLicense &&other) | |
~ExtensionLicense() | |
QDateTime | expiry() const |
bool | isPermanent() const |
Esri::ArcGISRuntime::LicenseStatus | licenseStatus() const |
QString | name() const |
Esri::ArcGISRuntime::ExtensionLicense & | operator=(const Esri::ArcGISRuntime::ExtensionLicense &other) |
Esri::ArcGISRuntime::ExtensionLicense & | operator=(Esri::ArcGISRuntime::ExtensionLicense &&other) |
Detailed Description
To get access to extension licensed functionality you need to supply extension licenses by calling ArcGISRuntimeEnvironment::setLicense(const QString&, const QStringList&). An ArcGIS Maps SDK license must always be provided as well in order to unlock the extensions.
A list of extension licenses can be obtained by calling ArcGISRuntimeEnvironment::license() and iterating through the License's extensions. These are the extensions that are available for use within the app. All extensions are available when licensed at the developer level even through the list of extensions may be empty.
See also License.
Member Function Documentation
ExtensionLicense::ExtensionLicense ()
Default constructor.
ExtensionLicense::ExtensionLicense (const Esri::ArcGISRuntime::ExtensionLicense &other)
Copy constructor from other ExtensionLicense.
ExtensionLicense::ExtensionLicense (Esri::ArcGISRuntime::ExtensionLicense &&other)
Move constructor from other ExtensionLicense.
ExtensionLicense::~ExtensionLicense ()
Destructor
QDateTime ExtensionLicense::expiry() const
The date the extension license expires.
This method gets the expiry date of a license set with ArcGISRuntimeEnvironment::setLicense(const QString&, const QStringList&).
bool ExtensionLicense::isPermanent () const
Returns true
if the extension license expiry is permanent, false
otherwise.
This is common amongst license keys.
Esri::ArcGISRuntime::LicenseStatus ExtensionLicense::licenseStatus () const
Returns the LicenseStatus of the extension license.
Usually this status returns Valid because the current License object always contains extensions that were validated when supplied to the ArcGISRuntimeEnvironment.
QString ExtensionLicense::name() const
Returns the extension license name.
This is typically the name found in the license key string for the extension.
Esri::ArcGISRuntime::ExtensionLicense &ExtensionLicense::operator=(const Esri::ArcGISRuntime::ExtensionLicense &other)
Assignment operator from other ExtensionLicense.
Esri::ArcGISRuntime::ExtensionLicense &ExtensionLicense::operator=(Esri::ArcGISRuntime::ExtensionLicense &&other)
Move operator from other ExtensionLicense.