feat: 新增安卓自截图uts插件、修改ios允许截屏禁止录屏
This commit is contained in:
6
uni_modules/uni-usercapturescreen/index.d.ts
vendored
6
uni_modules/uni-usercapturescreen/index.d.ts
vendored
@@ -63,6 +63,12 @@ declare namespace UniNamespace {
|
||||
*/
|
||||
enable : boolean;
|
||||
/**
|
||||
* 仅 iOS 生效。仅在 enable 为 false 时有意义:
|
||||
* true: 仅禁止录屏/投屏(录屏时画面被遮挡),允许截屏;
|
||||
* false/不传: 截屏与录屏一起禁止(默认行为)。
|
||||
*/
|
||||
antiRecordOnly ?: boolean;
|
||||
/**
|
||||
* 接口调用成功的回调函数
|
||||
*/
|
||||
// success : SetUserCaptureScreenSuccessCallback | null,
|
||||
|
||||
Reference in New Issue
Block a user