Metered class

Metered class

Provides methods which allow to activate product with Metered license and retrieve amount of MBs processed. Learn more about Metered licenses here.

The Metered type exposes the following members:

Constructors

Constructor Description
__init__(self) Initializes a new instance of Metered class.

Methods

Method Description
set_metered_key(self, public_key, private_key) Activates the product with Metered keys.
get_consumption_quantity() Retrieves the amount of MBs processed.
get_consumption_credit() Gets the consumption credit.

Remarks

Learn more | | | |

Example

The following example demonstrates how to activate the product with Metered keys.

See Also