@ProviderType
public interface TamperDetectionService
TamperStatus
class.
The tamper status can be reset by calling the resetTamperStatus()
method.
This service must also generate TamperEvent
EventAdmin events in particular conditions, see the corresponding
Javadoc for more details.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName()
Returns an user friendly name describing this service.
|
TamperStatus |
getTamperStatus()
Returns the current
TamperStatus . |
void |
resetTamperStatus()
Allows to reset the tamper state.
|
java.lang.String getDisplayName()
TamperStatus getTamperStatus() throws KuraException
TamperStatus
.TamperStatus
.KuraException
- in case of an implementation failure in determining the tamper status.void resetTamperStatus() throws KuraException
getTamperStatus()
should have the tamper flag set to false, until the next tamper
event is detected.KuraException
- in case of reset implementation failure.