Package com.banuba.sdk.license_utils
Interface LicenseManager
-
- All Known Implementing Classes:
LicenseManager.CppProxy
public interface LicenseManager
This class incapsulates information about Client Token.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
LicenseManager.CppProxy
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static LicenseManager
create(java.lang.String clientToken)
Creates *new* `LicenceManager`.java.lang.String
getChecksum()
Returns hash of Client Tokenjava.lang.String
getJson()
Returns decoded content of Client Tokenstatic LicenseManager
instance()
Returns the instance used by Banuba SDK to check licence.LicenseStatus
isExpired()
Checks if Client Token is expired.
-
-
-
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`.
-
-