Interface LicenseManager

  • All Known Implementing Classes:
    LicenseManager.CppProxy

    public interface LicenseManager
    This class incapsulates information about Client Token.
    • Method Detail

      • isExpired

        @NonNull
        LicenseStatus isExpired()
        Checks if Client Token is expired.
      • getJson

        @NonNull
        java.lang.String getJson()
        Returns decoded content of Client Token
      • getChecksum

        @NonNull
        java.lang.String getChecksum()
        Returns hash of Client Token
      • create

        @Nullable
        static LicenseManager create​(@NonNull
                                     java.lang.String clientToken)
        Creates *new* `LicenceManager`. This metod won't change Banuba SDK internal state.
      • instance

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