harmony 鸿蒙Common Events of the Theme Framework - Lock Screen

  • 2023-10-30
  • 浏览 (393)

Common Events of the Theme Framework - Lock Screen

This document lists the common system events provided by the theme framework - lock screen to applications. Applications can use APIs to subscribe to common system events.

COMMON_EVENT_SCREEN_LOCKED

Indicates that the screen has been locked.

  • Value: usual.event.SCREEN_LOCKED
  • Required subscriber permissions: none

When the screen is locked, the event notification service is triggered to publish this event.

COMMON_EVENT_SCREEN_UNLOCKED

Indicates that the screen has been unlocked.

  • Value: usual.event.SCREEN_UNLOCKED
  • Required subscriber permissions: none

When the screen is unlocked, the event notification service is triggered to publish this event.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Common Events

harmony 鸿蒙Common Events of the Ability Subsystem

harmony 鸿蒙Common Events of the Account Subsystem

harmony 鸿蒙Common Events of the Notification Service

harmony 鸿蒙Common Events of the Bundle Management Subsystem

harmony 鸿蒙Common Events of the File Management Subsystem

harmony 鸿蒙Common Events of the Language Subsystem

harmony 鸿蒙Common Events of the SMS Application

harmony 鸿蒙Common Events of the Network Management Subsystem

harmony 鸿蒙Common Events of the NFC Subsystem

0  赞