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 |
getConsumptionQuantity()
Gets consumption quantity
|
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.Exception
public static double getConsumptionQuantity() throws java.lang.Exception
java.lang.Exception