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

de.robv.android.xposed.IXposedHookInitPackageResources 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 de.robv.android.xposed.callbacks.XC_InitPackageResources;
import de.robv.android.xposed.callbacks.XC_InitPackageResources.InitPackageResourcesParam;

/**
 * Get notified when the resources for an app are initialized.
 * In {@link #handleInitPackageResources}, resource replacements can be created.
 * 

*

This interface should be implemented by the module's main class. Xposed will take care of * registering it as a callback automatically. */ public interface IXposedHookInitPackageResources extends IXposedMod { /** * This method is called when resources for an app are being initialized. * Modules can call special methods of the class in order to replace resources. * * @param resparam Information about the resources. * @throws Throwable Everything the callback throws is caught and logged. */ void handleInitPackageResources(InitPackageResourcesParam resparam) throws Throwable; /** * @hide */ final class Wrapper extends XC_InitPackageResources { private final IXposedHookInitPackageResources instance; public Wrapper(IXposedHookInitPackageResources instance) { this.instance = instance; } @Override public void handleInitPackageResources(InitPackageResourcesParam resparam) throws Throwable { instance.handleInitPackageResources(resparam); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy