接口 XposedInterface.Hooker
- 封闭接口:
XposedInterface
public static interface XposedInterface.Hooker
Hooker for a method or constructor.
-
方法概要
-
方法详细资料
-
intercept
Intercepts a method / constructor call.- 参数:
chain- The interceptor chain for the call- 返回:
- The result to be returned from the interceptor. If the hooker does not want to
change the result, it should call
chain.proceed()and return its result.For void methods and constructors, the return value is ignored by the framework.
- 抛出:
Throwable- Throw any exception from the interceptor. The exception will propagate to the caller if not caught by any interceptor.
-