mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-30 19:02:32 +00:00
add screen commonEnent
Signed-off-by: wangtong <wangtong94@huawei.com>
This commit is contained in:
parent
ebd774a830
commit
81ba276ec0
15
api/@ohos.commonEventManager.d.ts
vendored
15
api/@ohos.commonEventManager.d.ts
vendored
@ -194,6 +194,7 @@ declare namespace commonEventManager {
|
||||
|
||||
/**
|
||||
* This commonEvent means when the user is present after the device is awakened.
|
||||
* @deprecated since 10
|
||||
*/
|
||||
COMMON_EVENT_USER_PRESENT = "usual.event.USER_PRESENT",
|
||||
|
||||
@ -1168,7 +1169,19 @@ declare namespace commonEventManager {
|
||||
* This is a protected common event that can only be sent by system.
|
||||
* @since 10
|
||||
*/
|
||||
COMMON_EVENT_RADIO_STATE_CHANGE = "usual.event.RADIO_STATE_CHANGE"
|
||||
COMMON_EVENT_RADIO_STATE_CHANGE = "usual.event.RADIO_STATE_CHANGE",
|
||||
|
||||
/**
|
||||
* This commonEvent means when the screen is unlocked.
|
||||
* @since 10
|
||||
*/
|
||||
COMMON_EVENT_SCREEN_UNLOCKED = "usual.event.SCREEN_UNLOCKED",
|
||||
|
||||
/**
|
||||
* This commonEvent means when the screen is locked.
|
||||
* @since 10
|
||||
*/
|
||||
COMMON_EVENT_SCREEN_LOCKED = "usual.event.SCREEN_LOCKED"
|
||||
}
|
||||
}
|
||||
|
||||
|
BIN
build-tools/collect_application_api/deps/ohos-typescript-4.2.3-r2.tgz
(Stored with Git LFS)
BIN
build-tools/collect_application_api/deps/ohos-typescript-4.2.3-r2.tgz
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in New Issue
Block a user