Package io.antmedia.licence
Interface ILicenceService
- All Known Implementing Classes:
CommunityLicenceService
public interface ILicenceService
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptioncheckLicence(String key) Check License StatusReturns the last license status checkedbooleanReturns if license is blockedvoidsetServerSettings(ServerSettings serverSettings) Sets Server Settingsvoidstart()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:
-
LICENCE_TYPE_LOCAL_SERVER
- 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
-