import{_ as s,o as a,c as e,a as o}from"./app-BpUB8-Q8.js";const n={},l=o(`

注意

由于维护成本,YukiHookAPI1.3.0 版本开始将不再会对此文档进行更新且在 2.0.0 版本切换为 Dokka 插件自动生成的 API 文档。

YukiResources - class

class YukiResources private constructor(private val baseInstance: XResources) : Resources

变更记录

v1.0.80 新增

功能描述

对接 XResources 的中间层实例。

LayoutInflatedParam - class

class LayoutInflatedParam(private val baseParam: XC_LayoutInflated.LayoutInflatedParam)

变更记录

v1.0.80 新增

功能描述

装载 Hook APP 的目标布局 Resources 实现类。

variantName - field

val variantName: String

变更记录

v1.0.80 新增

功能描述

获取当前被 Hook 的布局装载目录名称。

例如:layoutlayout-landlayout-sw600dp

currentView - field

val currentView: View

变更记录

v1.0.80 新增

功能描述

获取当前被 Hook 的布局实例。

findViewByIdentifier - method

inline fun <reified T : View> View.findViewByIdentifier(name: String): T?
inline fun <reified T : View> findViewByIdentifier(name: String): T?

变更记录

v1.0.80 新增

功能描述

使用 Identifier 查找 Hook APP 指定 Id 的 View

扩展方法可以使用 Identifier 查找 Hook APP 当前装载布局中指定 Id 的 View

`,34),p=[l];function c(t,r){return a(),e("div",null,p)}const i=s(n,[["render",c],["__file","YukiResources.html.vue"]]);export{i as default};