All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.robv.android.xposed.IXposedHookLoadPackage Maven / Gradle / Ivy

Go to download

ratel api,used for developer on ratel system,an extension for xposed framewrok,ratel api compatable with original xposed framework

There is a newer version: 1.3.6
Show newest version
package de.robv.android.xposed;

import android.app.Application;

import de.robv.android.xposed.callbacks.XC_LoadPackage;
import de.robv.android.xposed.callbacks.XC_LoadPackage.LoadPackageParam;

/**
 * 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. */ public interface IXposedHookLoadPackage extends IXposedMod { /** * This method is called when an app is loaded. It's called very early, even before * {@link Application#onCreate} is called. * Modules can set up their app-specific hooks here. * * @param lpparam Information about the app. * @throws Throwable Everything the callback throws is caught and logged. */ void handleLoadPackage(LoadPackageParam lpparam) throws Throwable; /** @hide */ final class Wrapper extends XC_LoadPackage { private final IXposedHookLoadPackage instance; public Wrapper(IXposedHookLoadPackage instance) { this.instance = instance; } @Override public void handleLoadPackage(LoadPackageParam lpparam) throws Throwable { instance.handleLoadPackage(lpparam); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy