public class Metered extends Object
Provides methods for applying Metered
license.
Constructor and Description |
---|
Metered()
Initializes a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
static double |
getConsumptionCredit()
Retrieves count of credits consumed.
|
static double |
getConsumptionQuantity()
Retrieves amount of MBs processed.
|
void |
setMeteredKey(String publicKey,
String privateKey)
Activates product with Metered keys.
|
public static double getConsumptionCredit() throws Exception
Retrieves count of credits consumed.
Exception
public static double getConsumptionQuantity() throws Exception
Retrieves amount of MBs processed.
Exception