Package com.castlabs.sdk.hooktools

# Class HookTools

java.lang.Object
com.castlabs.sdk.hooktools.HookTools

public class HookTools extends Object
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 Classes
  Modifier and Type
  Class
  Description
  `static interface`
  `HookTools.Callback`
  Callback interface for receiving system status updates.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `check(HookTools.Callback callback)`
  Checks if the system has been tampered with and notifies the callback.
  `static void`
  `load()`
  Loads the native library.
  `static void`
  `setCallback(HookTools.Callback callback)`
  Sets the callback to be used for receiving system status updates.

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### load

    public static void load()
    Loads the native library.

  - ### setCallback

    public static void setCallback(HookTools.Callback callback)
    Sets the callback to be used for receiving system status updates.
    Parameters:
      `callback` - The callback to be set.

  - ### check

    public static void check(HookTools.Callback callback)
    Checks if the system has been tampered with and notifies the callback.
    Parameters:
      `callback` - The callback to be used for receiving the result.