From 55df80dc5b2798fbcee30482f50d891015eb3ae4 Mon Sep 17 00:00:00 2001 From: jidong Date: Mon, 14 Apr 2025 10:34:51 +0800 Subject: [PATCH] add bindDomainAccount system api Signed-off-by: jidong Change-Id: I8c0a285a1f8dc182c060707d89b823554f89b889 --- api/@ohos.commonEventManager.d.ts | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/api/@ohos.commonEventManager.d.ts b/api/@ohos.commonEventManager.d.ts index c62395b690..12fa64d593 100644 --- a/api/@ohos.commonEventManager.d.ts +++ b/api/@ohos.commonEventManager.d.ts @@ -937,6 +937,28 @@ declare namespace commonEventManager { */ COMMON_EVENT_USER_UNLOCKED = 'usual.event.USER_UNLOCKED', + /** + * Indicates the target user (i.e the OS account) is going to be locked. + * This is a protected common event that can only be sent by system. + * + * @syscap SystemCapability.Notification.CommonEvent + * @systemapi + * @since 20 + * @arkts 1.1&1.2 + */ + COMMON_EVENT_USER_LOCKING = 'usual.event.USER_LOCKING', + + /** + * Indicates the target user (i.e the OS account) is locked. + * This is a protected common event that can only be sent by system. + * + * @syscap SystemCapability.Notification.CommonEvent + * @systemapi + * @since 20 + * @arkts 1.1&1.2 + */ + COMMON_EVENT_USER_LOCKED = 'usual.event.USER_LOCKED', + /** * Remind new user of that the service has been stopping. * -- Gitee