Interface LicenseManager

All Known Implementing Classes:
LicenseManager.CppProxy

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

    • isExpired

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

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

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

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