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()
      The name of the extension license.
      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.
      • 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()
        The name of the extension license. This is typically the name embedded 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. Typically, this returns true for a license string with 'none' for the expiration date field.
        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