Package com.banuba.sdk.license_utils
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
All Methods Static Methods Instance Methods Concrete Methods 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
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
-
_djinni_private_destroy
public void _djinni_private_destroy()
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
isExpired
public LicenseStatus isExpired()
Description copied from interface:LicenseManager
Checks if Client Token is expired.- Specified by:
isExpired
in interfaceLicenseManager
-
getJson
public java.lang.String getJson()
Description copied from interface:LicenseManager
Returns decoded content of Client Token- Specified by:
getJson
in interfaceLicenseManager
-
getChecksum
public java.lang.String getChecksum()
Description copied from interface:LicenseManager
Returns hash of Client Token- Specified by:
getChecksum
in interfaceLicenseManager
-
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`.
-
-