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
Modifier and Type Method Description static LicenseManager
create(java.lang.String clientToken)
Creates *new* `LicenceManager`.java.lang.String
getJson()
Returns decoded content of Client Tokenstatic LicenseManager
instance()
Returns the instance used by Banuba SDK to check licence.boolean
isExpired()
Checks if Client Token is expired.
-
Method Details
-
isExpired
boolean isExpired()Checks if Client Token is expired. -
getJson
@NonNull java.lang.String getJson()Returns decoded content of Client Token -
create
Creates *new* `LicenceManager`. This metod won't change Banuba SDK internal state. -
instance
Returns the instance used by Banuba SDK to check licence. This istance was created by `UtilityManager.initialize`.
-