public class Metered extends Object
Provides methods for applying Metered license.
<b>Learn more</b>
| 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.
|
static void |
increaseBytesCount(double length) |
static void |
increaseCreditsByBytesCount(double length) |
static void |
increaseCreditsByOne() |
void |
setMeteredKey(String publicKey,
String privateKey)
Activates product with Metered keys.
|
public static double getConsumptionCredit()
Retrieves count of credits consumed.
public static double getConsumptionQuantity()
Retrieves amount of MBs processed.
public static void increaseBytesCount(double length)
public static void increaseCreditsByBytesCount(double length)
public static void increaseCreditsByOne()
Copyright © 2024. All rights reserved.