Package io.antmedia.licence
Interface ILicenceService
- All Known Implementing Classes:
CommunityLicenceService
public interface ILicenceService
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptioncheckLicence
(String key) Check License StatusReturns the last license status checkedboolean
Returns if license is blockedvoid
setServerSettings
(ServerSettings serverSettings) Sets Server Settingsvoid
start()
Starts License operations
-
Field Details
-
LICENCE_TYPE_COMMUNITY
- See Also:
-
LICENCE_TYPE_STANDARD
- See Also:
-
LICENCE_TYPE_OFFLINE
- See Also:
-
LICENCE_TYPE_MARKETPLACE
- See Also:
-
-
Method Details
-
start
void start()Starts License operations -
checkLicence
Check License Status- Parameters:
key
- of the license- Returns:
- result of the operation and message
-
setServerSettings
Sets Server Settings- Parameters:
serverSettings
-
-
getLastLicenseStatus
Licence getLastLicenseStatus()Returns the last license status checked- Returns:
-
isLicenceSuspended
boolean isLicenceSuspended()Returns if license is blocked- Returns:
- true if license is blocked false if license can be used
-
getLicenseType
String getLicenseType()- Returns:
- LICENCE_TYPE_COMMUNITY, LICENCE_TYPE_STANDARD, LICENCE_TYPE_OFFLINE, LICENCE_TYPE_MARKETPLACE
-