mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-09-04 09:45:19 +08:00
Update xposed-using documentation
This commit is contained in:
@@ -236,6 +236,18 @@ class _YukiHookXposedInit : IXposedHookZygoteInit, IXposedHookLoadPackage {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
::: tip
|
||||||
|
|
||||||
|
Since the Xposed entry class is dynamically generated by **YukiHookAPI**, it will generate the following two files at the same time.
|
||||||
|
|
||||||
|
- **assets/xposed_init**
|
||||||
|
|
||||||
|
- **resources/META-INF/yukihookapi_init**
|
||||||
|
|
||||||
|
If you are using **Git** code control system, you can add these two files to **.gitignore** file.
|
||||||
|
|
||||||
|
:::
|
||||||
|
|
||||||
### IYukiHookXposedInit Interface
|
### IYukiHookXposedInit Interface
|
||||||
|
|
||||||
The `IYukiHookXposedInit` interface that your Hook entry class must implements it, which is the entry point for your Module App to start hooking.
|
The `IYukiHookXposedInit` interface that your Hook entry class must implements it, which is the entry point for your Module App to start hooking.
|
||||||
|
@@ -230,6 +230,18 @@ class _YukiHookXposedInit : IXposedHookZygoteInit, IXposedHookLoadPackage {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
::: tip
|
||||||
|
|
||||||
|
由于 Xposed 入口类是被 **YukiHookAPI** 动态生成的,它会同时生成如下两个文件。
|
||||||
|
|
||||||
|
- **assets/xposed_init**
|
||||||
|
|
||||||
|
- **resources/META-INF/yukihookapi_init**
|
||||||
|
|
||||||
|
如果你正在使用 **Git** 代码控制系统,你可以将这两个文件添加到 **.gitignore** 文件中。
|
||||||
|
|
||||||
|
:::
|
||||||
|
|
||||||
### IYukiHookXposedInit 接口
|
### IYukiHookXposedInit 接口
|
||||||
|
|
||||||
`IYukiHookXposedInit` 接口为你的 Hook 入口类必须实现的接口,这是你的模块开始 Hook 的起点。
|
`IYukiHookXposedInit` 接口为你的 Hook 入口类必须实现的接口,这是你的模块开始 Hook 的起点。
|
||||||
|
Reference in New Issue
Block a user