public class Metered
extends java.lang.Object
Metered metered = new Metered();
metered.setMeteredKey("PublicKey", "PrivateKey");
| Constructor and Description |
|---|
Metered()
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
static double |
getConsumptionCredit()
Returns the currently consumed number of credits.
|
static double |
getConsumptionQuantity()
Returns the currently consumed number of megabytes.
|
void |
setMeteredKey(java.lang.String publicKey,
java.lang.String privateKey)
Enables metered licensing for the component by specifying appropriate public and private metered keys.
|
public void setMeteredKey(java.lang.String publicKey,
java.lang.String privateKey)
publicKey - The public metered key.privateKey - The private metered key.public static double getConsumptionQuantity()
public static double getConsumptionCredit()
See Also:
GroupDocs.Assembly for Java Documentation - the home page for the GroupDocs.Assembly for Java Product Documentation.
GroupDocs.Assembly for Java Support Forum - our preferred method of support.
© 2001-2023 Aspose Pty Ltd. All rights reserved.