Package 

Class InsteadHook

  • All Implemented Interfaces:
    kotlin.Comparable

    
    public final class InsteadHook
    extends XC_MethodHook
                        

    Runs the specified callbackinstead of the hooked Member

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class InsteadHook.Companion
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final Function1<XC_MethodHook.MethodHookParam, Object> callback
      private final Integer priority
    • Constructor Summary

      Constructors 
      Constructor Description
      InsteadHook(Function1<XC_MethodHook.MethodHookParam, Object> callback)
    • Method Summary

      Modifier and Type Method Description
      final Function1<XC_MethodHook.MethodHookParam, Object> getCallback()
      • Methods inherited from class de.robv.android.xposed.XC_MethodHook

        compareTo
      • Methods inherited from class com.aliucord.patcher.InsteadHook

        afterHookedMethod
      • Methods inherited from class java.lang.Object

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

      • InsteadHook

        InsteadHook(Function1<XC_MethodHook.MethodHookParam, Object> callback)
    • Method Detail