Skip to content
This repository has been archived by the owner on Feb 10, 2025. It is now read-only.

Commit

Permalink
Update types.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
AIsouler committed Mar 4, 2024
1 parent 391ab81 commit c9927db
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,24 @@ type RawCommonProps = {
*
* @default 0
*
* @version 1.7.0
*/
order?: Integer;

/**
* 单位: 毫秒
*
* 在开始匹配后的一段时间内, 不管界面没有通知变化, 主动使此规则参与屏幕查询
*
* GKD 借助 [onAccessibilityEvent](https://developer.android.com/reference/android/accessibilityservice/AccessibilityService#onAccessibilityEvent(android.view.accessibility.AccessibilityEvent)) 感知界面变化
*
* 但是某些基于 flutter/webview 开发的应用/页面在变化时并不会通知系统去触发 onAccessibilityEvent, 但是屏幕上的节点信息确实产生变化
*
* 唯一的办法是在开始匹配的一定时间内主动查询屏幕节点
*
* @version 1.7.0
*/
forcedTime?: Integer;
/**
* 当前 规则/规则组 的快照链接, 增强订阅可维护性
*/
Expand Down

0 comments on commit c9927db

Please sign in to comment.