diff --git a/api/@ohos.commonEventManager.d.ts b/api/@ohos.commonEventManager.d.ts index c62395b69066727856df336b3b4d1e63b7742241..12fa64d5930eafc315de73cf979e57b0dd6dfd9a 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. *