public class Metered extends Object
Provides methods to set metered key.
In this example, an attempt will be made to set metered public and private key the component jar file:Metered metered = new Metered(); metered.setMeteredKey("PublicKey", "PrivateKey");
Constructor and Description |
---|
Metered() |
Modifier and Type | Method and Description |
---|---|
void |
resetMeteredKey()
Removes previously setup license.
|
void |
setMeteredKey(String publicKey,
String privateKey)
Sets the metered public and private keys.
|