public class Metered extends Object
Provides methods for applying Metered
license.
Constructor and Description |
---|
Metered()
Initializes a new instance of the
Metered class. |
Modifier and Type | Method and Description |
---|---|
static double |
getConsumptionCredit()
Retrieves amount of used credits
|
static double |
getConsumptionQuantity()
Gets consumption quantity
|
static void |
increaseBytesCount(double count)
Increase customer consumption file size
|
static void |
increaseCreditsByOne()
Increase customer consumption credit.
|
void |
setMeteredKey(String publicKey,
String privateKey)
Sets metered public and private key
|
public Metered()
Initializes a new instance of the Metered
class.
public static double getConsumptionCredit()
Retrieves amount of used credits
public static double getConsumptionQuantity()
Gets consumption quantity
public static void increaseBytesCount(double count)
Increase customer consumption file size
count
- public static void increaseCreditsByOne()
Increase customer consumption credit.
Copyright © 2020. All rights reserved.