Update xposed-using documentation

This commit is contained in:
2023-02-01 02:35:05 +08:00
parent 008962a1fc
commit caa412953d
2 changed files with 24 additions and 0 deletions

View File

@@ -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
The `IYukiHookXposedInit` interface that your Hook entry class must implements it, which is the entry point for your Module App to start hooking.

View File

@@ -230,6 +230,18 @@ class _YukiHookXposedInit : IXposedHookZygoteInit, IXposedHookLoadPackage {
}
```
::: tip
由于 Xposed 入口类是被 **YukiHookAPI** 动态生成的,它会同时生成如下两个文件。
- **assets/xposed_init**
- **resources/META-INF/yukihookapi_init**
如果你正在使用 **Git** 代码控制系统,你可以将这两个文件添加到 **.gitignore** 文件中。
:::
### IYukiHookXposedInit 接口
`IYukiHookXposedInit` 接口为你的 Hook 入口类必须实现的接口,这是你的模块开始 Hook 的起点。