Patcher API
Runtime patching helper that wraps Xposed hooks and tracks created unpatch actions.
Use instances to apply hooks via the patch methods. Each patch returns an Unpatch callback that will remove the applied hook when invoked. Call unpatchAll to run all registered unpatch actions and clear the internal registry.
Parameters
logger used for error reporting
Functions
Adds a Hook to a constructor of a class.
Adds a Hook to a method of a class.
Adds a PreHook to a constructor of a class.
Adds a PreHook to a method of a class.
Replaces a constructor of a class.
Replaces a method of a class.
Patch a specific method or constructor.
Patch a specific method or constructor using a MethodHookCallback.
Patch a method by Class.
Patch a method by class name.
Invoke all registered unpatch actions and clear the registry.