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 java.lang.Object
implements LicenseManager
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.banuba.sdk.license_utils.LicenseManager

    LicenseManager.CppProxy
  • Method Summary

    Modifier and Type Method Description
    void _djinni_private_destroy()  
    static LicenseManager create​(java.lang.String clientToken)
    Creates *new* `LicenceManager`.
    protected void finalize()  
    java.lang.String getJson()
    Returns decoded content of Client Token
    static LicenseManager instance()
    Returns the instance used by Banuba SDK to check licence.
    boolean isExpired()
    Checks if Client Token is expired.

    Methods inherited from class java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • _djinni_private_destroy

      public void _djinni_private_destroy()
    • finalize

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

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

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

      @Nullable public static LicenseManager create​(@NonNull java.lang.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`.