aspose.cells

Class Metered

Provides methods to set metered key.

Constructor Summary
Metered()
Initializes a new instance of this class.
 
Method Summary
static functiongetConsumptionCredit()
Gets consumption credit
static functiongetConsumptionQuantity()
Gets consumption file size
functionsetMeteredKey(publicKey, privateKey)
Sets metered public and private key
 

    • Constructor Detail

      • Metered

        function Metered()
        Initializes a new instance of this class.
    • Method Detail

      • setMeteredKey

        function setMeteredKey(publicKey, privateKey)
        Sets metered public and private key
        Parameters:
        publicKey: String - public key
        privateKey: String - private key
      • getConsumptionQuantity

        static function getConsumptionQuantity()
        Gets consumption file size
        Returns:
        consumption quantity
      • getConsumptionCredit

        static function getConsumptionCredit()
        Gets consumption credit
        Returns:
        consumption quantity