Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

完善关键字matchDelay、matchTime使用描述 #3120

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ type CommonProps = {
*
* 规则准备匹配/或被唤醒时, 等待一段时间, 使此规则参与查询屏幕节点
*
* 由resetMatch确定是activity还是app变化时作用。resetMatch:'app'时,进入app即开始作用,而非进入指定activity时
*/
matchDelay?: number;

Expand All @@ -102,6 +103,7 @@ type CommonProps = {
*
* 例如某些应用的 开屏广告 的 activityId 容易误触/太广泛, 而开屏广告几乎只在应用切出来时出现, 设置一个有限匹配时间能避免后续的误触
*
* 由resetMatch确定是activity还是app变化时作用。resetMatch:'app'时,进入app即开始作用,而非进入指定activity时
*/
matchTime?: number;

Expand Down