Class LicenseManager.CppProxy

java.lang.Object
com.banuba.sdk.license_utils.LicenseManager.CppProxy
All Implemented Interfaces:
LicenseManager
Enclosing interface:
LicenseManager

public static final class LicenseManager.CppProxy extends Object implements LicenseManager
  • Method Details

    • _djinni_private_destroy

      public void _djinni_private_destroy()
    • finalize

      protected void finalize() throws Throwable
      Overrides:
      finalize in class Object
      Throws:
      Throwable
    • isExpired

      public LicenseStatus isExpired()
      Description copied from interface: LicenseManager
      Checks if Client Token is expired.
      Specified by:
      isExpired in interface LicenseManager
    • getJson

      public String getJson()
      Description copied from interface: LicenseManager
      Returns decoded content of Client Token
      Specified by:
      getJson in interface LicenseManager
    • getChecksum

      public String getChecksum()
      Description copied from interface: LicenseManager
      Returns hash of Client Token
      Specified by:
      getChecksum in interface LicenseManager
    • create

      @Nullable public static LicenseManager create(@NonNull String clientToken)
      Description copied from interface: LicenseManager
      Creates *new* `LicenceManager`. This metod won't change Banuba SDK internal state.
    • instance

      @Nullable public static LicenseManager instance()
      Description copied from interface: LicenseManager
      Returns the instance used by Banuba SDK to check licence. This istance was created by `UtilityManager.initialize`.