Package com.castlabs.sdk.hooktools
Class HookTools
java.lang.Object
com.castlabs.sdk.hooktools.HookTools
HookTools is a library that provides a way to check if the system has been tampered with.
It uses native code to perform the detection and provides a callback interface for the result.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceCallback interface for receiving system status updates. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheck(HookTools.Callback callback) Checks if the system has been tampered with and notifies the callback.static voidload()Loads the native library.static voidsetCallback(HookTools.Callback callback) Sets the callback to be used for receiving system status updates.
-
Method Details
-
load
public static void load()Loads the native library. -
setCallback
Sets the callback to be used for receiving system status updates.- Parameters:
callback- The callback to be set.
-
check
Checks if the system has been tampered with and notifies the callback.- Parameters:
callback- The callback to be used for receiving the result.
-