Package com.pdftools
Class ConsumptionData
- java.lang.Object
-
- com.pdftools.internal.NativeBase
-
- com.pdftools.internal.NativeObject
-
- com.pdftools.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 com.pdftools.internal.NativeObject
equals, hashCode
-
-
-
-
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 asgetOverconsumption()
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 allgetRemainingPages()
are consumed. When this value reaches zero, a license error is thrown for every attempt to use the SDK.
-
-