Package 

Interface IXposedHookLoadPackage

  • All Implemented Interfaces:
    de.robv.android.xposed.IXposedMod

    
    public interface IXposedHookLoadPackage
     implements IXposedMod
                        

    Get notified when an app ("Android package") is loaded. This is especially useful to hook some app-specific methods.

    This interface should be implemented by the module's main class. Xposed will take care of registering it as a callback automatically.

    • Method Summary

      Modifier and Type Method Description
      abstract void handleLoadPackage(XC_LoadPackage.LoadPackageParam lpparam) This method is called when an app is loaded.
      • Methods inherited from class java.lang.Object

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

      • handleLoadPackage

         abstract void handleLoadPackage(XC_LoadPackage.LoadPackageParam lpparam)

        This method is called when an app is loaded. It's called very early, even before onCreate is called.Modules can set up their app-specific hooks here.

        Parameters:
        lpparam - Information about the app.