Package 

Class XC_MethodHook

  • All Implemented Interfaces:
    java.lang.Comparable

    
    public abstract class XC_MethodHook
    extends XCallback
                        

    Callback class for method hooks.

    Usually, anonymous subclasses of this class are created which override beforeHookedMethod and/or afterHookedMethod.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public final class XC_MethodHook.MethodHookParam

      Wraps information about the method call and allows to influence it.

      public class XC_MethodHook.Unhook

      An object with which the method/constructor can be unhooked.

    • Constructor Summary

      Constructors 
      Constructor Description
      XC_MethodHook() Creates a new callback with default priority.
      XC_MethodHook(int priority) Creates a new callback with a specific priority.
    • Method Summary

      Modifier and Type Method Description
      • Methods inherited from class de.robv.android.xposed.callbacks.XCallback

        callAll, compareTo
      • Methods inherited from class java.lang.Comparable

        compareTo
      • Methods inherited from class java.lang.Object

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

      • XC_MethodHook

        XC_MethodHook()
        Creates a new callback with default priority.
      • XC_MethodHook

        XC_MethodHook(int priority)
        Creates a new callback with a specific priority.
        Parameters:
        priority - See priority.