DeviceTamperConfig
class DeviceTamperConfig
DSL configuration class for device tamper detection settings.
This class provides a domain-specific language for configuring various tamper detection mechanisms. It allows developers to easily add and configure multiple detectors using a fluent API approach.
Example usage:
val isTampered = analyze {
detector {
add(RootCommandDetector())
add(SystemPropertyDetector())
add(CustomDetector { checkCustomCondition() })
}
}Content copied to clipboard