From 89cd88c2101723aec40b4917d8956f85bc2d3e5b Mon Sep 17 00:00:00 2001 From: yuzhenze Date: Thu, 30 May 2024 20:01:06 +0800 Subject: [PATCH] add SG interface Signed-off-by: yuzhenze --- api/@ohos.security.securityGuard.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api/@ohos.security.securityGuard.d.ts b/api/@ohos.security.securityGuard.d.ts index 1b04ca483..5850ed922 100644 --- a/api/@ohos.security.securityGuard.d.ts +++ b/api/@ohos.security.securityGuard.d.ts @@ -160,6 +160,8 @@ declare namespace securityGuard { interface Querier { /** * Triggered when data is returned. + * + * @type { function } * @syscap SystemCapability.Security.SecurityGuard * @systemapi Hide this for inner system use. * @since 12 @@ -168,6 +170,8 @@ declare namespace securityGuard { onQuery: (events: Array) => void; /** * Triggered when data is complete. + * + * @type { function } * @syscap SystemCapability.Security.SecurityGuard * @systemapi Hide this for inner system use. * @since 12 @@ -176,6 +180,8 @@ declare namespace securityGuard { onComplete: () => void; /** * Triggered when error. + * + * @type { function } * @syscap SystemCapability.Security.SecurityGuard * @systemapi Hide this for inner system use. * @since 12