com.virjar.ratel.api.rposed.callbacks.IRUnhook Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ratel-api Show documentation
Show all versions of ratel-api Show documentation
ratel api,used for developer on ratel system,an extension for xposed framewrok,ratel api compatable with original xposed framework
package com.virjar.ratel.api.rposed.callbacks;
/**
* Interface for objects that can be used to remove callbacks.
*
* Just like hooking methods etc., unhooking applies only to the current process.
* In other process (or when the app is removed from memory and then restarted), the hook will still
* be active. The Zygote process is an exception, the hook won't
* be inherited by any future processes forked from it in the future.
*
* @param The class of the callback.
*/
public interface IRUnhook {
/**
* Returns the callback that has been registered.
*/
T getCallback();
/**
* Removes the callback.
*/
void unhook();
}