LicenseInfo QML Type

Contains information for licensing an app for Lite or Basic-level functionality from a portal instance. More...

Import Statement: import Esri.ArcGISRuntime 100.15
Since: Esri.ArcGISRuntime 100.0
Inherits:

Object

Properties

Detailed Description

To validate with information from a portal, you will need a LicenseInfo instance. This can be obtained by calling PortalInfo.licenseInfo. The LicenseInfo can then be used to authenticate the ArcGIS Runtime app for Lite or Basic-level functionality by calling ArcGISRuntimeEnvironment.setLicense(LicenseInfo).

Note that this information is only available when a user is logged in to the portal.

See also JsonSerializable.

Property Documentation

json : jsobject

The JSON representation of the LicenseInfo object obtained through Portal.

Pass this into the ArcGISRuntimeEnvironment.setLicense(LicenseInfo) method to license the app at the Lite or Basic level.

This JSON can be persisted to disk and reapplied to the app by populating this json property and then passed to ArcGISRuntimeEnvironment.setLicense(LicenseInfo). The LicenseInfo is valid for 30 days before it expires and requires the user to log in to the portal to acquire a new LicenseInfo object.


unknownJson : jsobject

Returns the unknown JSON from the source JSON.

See also JsonSerializable.


unsupportedJson : jsobject

Returns the unsupported data from the source JSON.

See also JsonSerializable.


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