@ProviderType
public class TamperStatus
extends java.lang.Object
TamperDetectionProperties
enumeration are well known.Constructor and Description |
---|
TamperStatus(boolean isDeviceTampered,
java.util.Map<java.lang.String,TypedValue<?>> properties)
Creates a new
TamperStatus instance. |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,TypedValue<?>> |
getProperties()
Returns additional properties describing the tamper status.
|
boolean |
isDeviceTampered()
Indicates if the device is tampered or not.
|
public TamperStatus(boolean isDeviceTampered, java.util.Map<java.lang.String,TypedValue<?>> properties)
TamperStatus
instance.isDeviceTampered
- the current tamper status.properties
- the additional properties, can be null
.public boolean isDeviceTampered()
boolean
indicating if the device is tampered or notpublic java.util.Map<java.lang.String,TypedValue<?>> getProperties()
null
but can be empty.