java.lang.Object
com.esri.arcgisruntime.LicenseResult
The status of this license and any extension licenses.
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 API license status
is obtained from getLicenseStatus()
. Extension license statuses are obtained from getExtensionsStatus()
.
The use of some members in this API requires a specific license level. Please refer to Licensing details by class.
- Since:
- 100.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns ajava.util.Map
of extension license statuses that were supplied to the app.Returns the license status of the API license supplied.
-
Method Details
-
getLicenseStatus
Returns the license status of the API license supplied.- Returns:
- the status of the license
- Since:
- 100.0.0
-
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
-