isLicenceValid Function

@JvmStatic @JvmOverloads fun isLicenceValid(flags: EnumSet<ScanningSdkLibrary.Feature> = Feature.NONE): Boolean

Reports whether the loaded licence is valid and covers the features you name.

Call it after load to decide what your application can offer — for example, to hide a PDF-export action when the key does not cover Feature.PDF. With no argument it checks only that the licence itself is valid.

Return

true if the licence is valid and covers every named feature

Parameters

  • flags — the capabilities your application needs; defaults to Feature.NONE, meaning check validity alone
Top