Package com.pdftools

Class ConsumptionData


public class ConsumptionData extends NativeObject
This class contains page-based license usage data.
  • Method Details

    • getRemainingPages

      public int getRemainingPages()
      Denotes the number of pages left to consume before entering the over-consumption state. When this value reaches zero, the SDK can still be used as long as getOverconsumption() is positive.
    • getOverconsumption

      public int getOverconsumption()
      Denotes the number of pages left to consume in the over-consumption state. The over-consumption state begins after all getRemainingPages() are consumed. When this value reaches zero, a license error is thrown for every attempt to use the SDK.