public class Metered
extends java.lang.Object
| Constructor and Description |
|---|
Metered()
Initializes a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
static double |
getConsumptionCredit()
Gets consumption credit
|
static double |
getConsumptionQuantity()
Gets consumption file size
|
void |
setMeteredKey(java.lang.String publicKey,
java.lang.String privateKey)
Sets metered public and private key
|
public void setMeteredKey(java.lang.String publicKey,
java.lang.String privateKey)
throws java.lang.Exception
publicKey - public keyprivateKey - private keyjava.lang.Exceptionpublic static double getConsumptionQuantity()
throws java.lang.Exception
java.lang.Exceptionpublic static double getConsumptionCredit()
throws java.lang.Exception
java.lang.Exception