Packages

 

com.aspose.imaging

Interfaces

Classes

Exceptions

com.aspose.imaging

Class Metered



  • public class Metered
    extends Object

    Provides metered methods for integration

    In this example, an attempt will be made to set metered public and private key

    // the component jar file: Metered matered = new Metered(); matered.setMeteredKey("PublicKey", "PrivateKey");
    • Constructor Detail

      • Metered

        public Metered()
    • Method Detail

      • setMeteredKey

        public void setMeteredKey(String publicKey,
                                  String privateKey)
        Sets metered public and private key
        Parameters:
        publicKey - public key
        privateKey - private key
      • equals

        public boolean equals(Object obj)

        Determines whether the specified Object, is equal to this instance.

        Overrides:
        equals in class Object
        Parameters:
        obj - The Object to compare with this instance.
        Returns:
        true if the specified Object is equal to this instance; otherwise, false.
      • getConsumptionQuantity

        public static BigDecimal getConsumptionQuantity()
        Gets consumption file size
        Returns:
        consumption file size
      • getConsumptionCredit

        public static BigDecimal getConsumptionCredit()
        Gets consumption credit
        Returns:
        consumption quantity