Package com.pdftools

Class ConsumptionData


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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getOverconsumption()
      Denotes the number of pages left to consume in the over-consumption state.
      int getRemainingPages()
      Denotes the number of pages left to consume before entering the over-consumption state.
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • 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.