feat: 新增安卓自截图uts插件、修改ios允许截屏禁止录屏

This commit is contained in:
2026-06-23 17:07:16 +08:00
parent c7b62b0f4d
commit d3dab30d48
14 changed files with 590 additions and 57 deletions

View File

@@ -63,6 +63,12 @@ declare namespace UniNamespace {
*/
enable : boolean;
/**
* 仅 iOS 生效。仅在 enable 为 false 时有意义:
* true: 仅禁止录屏/投屏(录屏时画面被遮挡),允许截屏;
* false/不传: 截屏与录屏一起禁止(默认行为)。
*/
antiRecordOnly ?: boolean;
/**
* 接口调用成功的回调函数
*/
// success : SetUserCaptureScreenSuccessCallback | null,