Package com.aspose.barcode.metered
Class Metered
java.lang.Object
com.aspose.barcode.metered.Metered
Provides methods to set metered key.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doubleGets consumption creditstatic doubleGets consumption file sizevoidsetMeteredKey(String publicKey, String privateKey) Sets metered public and private key
-
Constructor Details
-
Metered
public Metered()Initializes a new instance of this class.
-
-
Method Details
-
setMeteredKey
Sets metered public and private key- Parameters:
publicKey- public keyprivateKey- private key- Throws:
Exception
-
getConsumptionQuantity
Gets consumption file size- Returns:
- consumption quantity
- Throws:
Exception
-
getConsumptionCredit
Gets consumption credit- Returns:
- consumption quantity
- Throws:
Exception
-