Package 

Interface IXUnhook


  • 
    public interface IXUnhook<T>
    
                        

    Interface for objects that can be used to remove callbacks.

    Just like hooking methods etc., unhooking applies only to the current process. In other process (or when the app is removed from memory and then restarted), the hook will still be active. The Zygote process (see IXposedHookZygoteInit) is an exception, the hook won't be inherited by any future processes forked from it in the future.

    • Method Summary

      Modifier and Type Method Description
      abstract T getCallback() Returns the callback that has been registered.
      abstract void unhook() Removes the callback.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getCallback

         abstract T getCallback()

        Returns the callback that has been registered.

      • unhook

         abstract void unhook()

        Removes the callback.