Class ExtensionLicense

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Calendar getExpiry()
      Returns the extension license expiry date and time in UTC.
      java.lang.String getExtensionName()
      This is typically the name found in the license key string for the extension.
      LicenseStatus getLicenseStatus()
      Returns the license status for the current license applied to the app.
      boolean isPermanent()
      Returns true if extension license is permanent; false otherwise Most extension license keys do not expire.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getExtensionName

        public java.lang.String getExtensionName()
        This is typically the name found in the license key string for the extension.
        Returns:
        name of the extension
        Since:
        100.0.0
      • getExpiry

        public java.util.Calendar getExpiry()
        Returns the extension license expiry date and time in UTC. This method gets the expiry date of a license set with ArcGISRuntimeEnvironment.setLicense(String, List).
        Returns:
        the expiry date of the extension
        Since:
        100.0.0
      • isPermanent

        public boolean isPermanent()
        Returns true if extension license is permanent; false otherwise Most extension license keys do not expire.
        Returns:
        true if extension license is permanent
        Since:
        100.0.0
      • getLicenseStatus

        public LicenseStatus getLicenseStatus()
        Returns the license status for the current license applied to the app. Usually this status returns Valid because the current License object always contains the most current valid license.
        Returns:
        the license status
        Since:
        100.0.0