com.groupdocs.comparison.license

Class Metered

    • Constructor Detail

      • Metered

        public Metered()

        Initializes a new instance of the Metered class.

    • Method Detail

      • getConsumptionCredit

        public static double getConsumptionCredit()

        Retrieves amount of used credits

        Returns:
        Number of already used credits
      • getConsumptionQuantity

        public static double getConsumptionQuantity()

        Gets consumption quantity

        Returns:
        consumption quantity
      • setMeteredKey

        public final void setMeteredKey(String publicKey,
                         String privateKey)

        Sets metered public and private key

        Parameters:
        publicKey - public key
        privateKey - private key