Package com.esri.arcgisruntime
Class LicenseResult
- java.lang.Object
-
- com.esri.arcgisruntime.LicenseResult
-
public final class LicenseResult extends Object
Runtime license result information. License result information is returned from the ArcGISRuntimeEnvironment methods which set a deployment license for the app. The LicenseResult indicates whether the license or licenses provided are Valid, Invalid, Expired, or if a portal login is necessary (LoginRequired).A LicenseResult object is returned by
ArcGISRuntimeEnvironment.setLicense(String)
. The Runtime license status is obtained fromgetLicenseStatus()
. Extension license statuses are obtained fromgetExtensionsStatus()
.The use of some members in the ArcGIS Runtime API requires a specific license level. Please refer to Licensing details by class.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,LicenseStatus>
getExtensionsStatus()
Returns ajava.util.Map
of extension license statuses that were supplied to the app.LicenseStatus
getLicenseStatus()
Returns the license status of the Runtime license supplied.
-
-
-
Method Detail
-
getLicenseStatus
public LicenseStatus getLicenseStatus()
Returns the license status of the Runtime license supplied.- Returns:
- the status of the license
- Since:
- 100.0.0
-
getExtensionsStatus
public Map<String,LicenseStatus> getExtensionsStatus()
Returns ajava.util.Map
of extension license statuses that were supplied to the app. If no extension licenses were supplied, this method returns an empty map.- Returns:
- a unmodifiable map, the keys are extension names and the values are the corresponding LicenseStatus enums
- Since:
- 100.0.0
-
-