From 4f71283ccc337e9ed4236edbe13f69efa70412c3 Mon Sep 17 00:00:00 2001 From: "ester.zhou" Date: Thu, 6 Apr 2023 17:08:10 +0800 Subject: [PATCH] Update doc (16454) Signed-off-by: ester.zhou --- .../apis/commonEventManager-definitions.md | 119 +++++++++++++++++- 1 file changed, 117 insertions(+), 2 deletions(-) diff --git a/en/application-dev/reference/apis/commonEventManager-definitions.md b/en/application-dev/reference/apis/commonEventManager-definitions.md index 0670b6ca70..4d400882bb 100644 --- a/en/application-dev/reference/apis/commonEventManager-definitions.md +++ b/en/application-dev/reference/apis/commonEventManager-definitions.md @@ -65,11 +65,13 @@ Indicates that the device's thermal level has changed. - Required subscriber permissions: none -## COMMON_EVENT_USER_PRESENT +## COMMON_EVENT_USER_PRESENT(deprecated) (Reserved, not supported yet) Indicates that the user unlocks the device. - Value: **usual.event.USER_PRESENT** - Required subscriber permissions: none - +> NOTE +> +> This API is deprecated since API version 10. ## COMMON_EVENT_TIME_TICK Indicates that the system time has changed as time ticks by. @@ -929,3 +931,116 @@ Indicates the result of applying a quick fix to the application. Indicates that the HTTP proxy configuration has changed. - Value: **usual.event.HTTP_PROXY_CHANGE** - Required subscriber permissions: none + +## COMMON_EVENT_SIM_STATE_CHANGED10+ +Indicates that the SIM card state has changed. +- Value: **usual.event.SIM_STATE_CHANGED** +- Required subscriber permissions: none + +## COMMON_EVENT_SMS_RECEIVED_COMPLETED10+ +Indicates that the SMS message is received. +- Value: **usual.event.SMS_RECEIVED_COMPLETED** +- Required subscriber permissions: ohos.permission.RECEIVE_SMS + +## COMMON_EVENT_SMS_EMERGENCY_CB_RECEIVE_COMPLETED10+ +Indicates that an emergency cell broadcast message is received. +- Value: **usual.event.SMS_EMERGENCY_CB_RECEIVE_COMPLETED** +- Required subscriber permissions: ohos.permission.RECEIVE_SMS + +## COMMON_EVENT_SMS_CB_RECEIVE_COMPLETED10+ +Indicates that a cell broadcast message is received. +- Value: **usual.event.SMS_CB_RECEIVE_COMPLETED** +- Required subscriber permissions: ohos.permission.RECEIVE_SMS + +## COMMON_EVENT_STK_COMMAND10+ +(Reserved, not supported yet) Indicates the STK command. +- Value: **usual.event.STK_COMMAND** +- Required subscriber permissions: none + +## COMMON_EVENT_STK_SESSION_END10+ +(Reserved, not supported yet) Indicates that an STK session ends. +- Value: **usual.event.STK_SESSION_END** +- Required subscriber permissions: none + +## COMMON_EVENT_STK_CARD_STATE_CHANGED10+ +(Reserved, not supported yet) Indicates that the STK card state has changed. +- Value: **usual.event.STK_CARD_STATE_CHANGED** +- Required subscriber permissions: ohos.permission + +## COMMON_EVENT_STK_ALPHA_IDENTIFIER10+ +(Reserved, not supported yet) Indicates the STK alpha indicator. +- Value: **usual.event.STK_ALPHA_IDENTIFIER** +- Required subscriber permissions: none + +## COMMON_EVENT_SMS_WAPPUSH_RECEIVE_COMPLETED10+ +Indicates that a WAP push message is received. +- Value: **usual.event.SMS_WAPPUSH_RECEIVE_COMPLETED** +- Required subscriber permissions: ohos.permission.RECEIVE_SMS + +## COMMON_EVENT_OPERATOR_CONFIG_CHANGED10+ +Indicates that the carrier configuration has been updated. +- Value: **usual.event.OPERATOR_CONFIG_CHANGED** +- Required subscriber permissions: none + +## COMMON_EVENT_SIM_CARD_DEFAULT_SMS_SUBSCRIPTION_CHANGED10+ +Indicates that the default SIM card for the SMS service has changed. +- Value: **usual.event.DEFAULT_SMS_SUBSCRIPTION_CHANGED** +- Required subscriber permissions: none + +## COMMON_EVENT_SIM_CARD_DEFAULT_DATA_SUBSCRIPTION_CHANGED10+ +Indicates that the default SIM card for the mobile data service has changed. +- Value: **usual.event.DEFAULT_DATA_SUBSCRIPTION_CHANGED** +- Required subscriber permissions: none + +## COMMON_EVENT_SIM_CARD_DEFAULT_MAIN_SUBSCRIPTION_CHANGED10+ +Indicates that the default primary SIM card has changed. +- Value: **usual.event.SIM.DEFAULT_MAIN_SUBSCRIPTION_CHANGED** +- Required subscriber permissions: none + +## COMMON_EVENT_SIM_CARD_DEFAULT_VOICE_SUBSCRIPTION_CHANGED10+ +Indicates that the default SIM card for the voice service has changed. +- Value: **usual.event.DEFAULT_VOICE_SUBSCRIPTION_CHANGED** +- Required subscriber permissions: none + +## COMMON_EVENT_CALL_STATE_CHANGED10+ +Indicates that the call state has changed. +- Value: **usual.event.CALL_STATE_CHANGED** +- Required subscriber permissions: ohos.permission.GET_TELEPHONY_STATE + +## COMMON_EVENT_CELLULAR_DATA_STATE_CHANGED10+ +Indicates that the cellular data state has changed. +- Value: **usual.event.CELLULAR_DATA_STATE_CHANGED** +- Required subscriber permissions: none + +## COMMON_EVENT_NETWORK_STATE_CHANGED10+ +Indicates that the network state has changed. +- Value: **usual.event.NETWORK_STATE_CHANGED** +- Required subscriber permissions: none + +## COMMON_EVENT_SIGNAL_INFO_CHANGED10+ +Indicates that the signal information is updated. +- Value: **usual.event.SIGNAL_INFO_CHANGED** +- Required subscriber permissions: none + +## COMMON_EVENT_INCOMING_CALL_MISSED10+ +Indicates a missed call. +- Value: **usual.event.INCOMING_CALL_MISSED** +- Required subscriber permissions: ohos.permission.GET_TELEPHONY_STATE + +## COMMON_EVENT_RADIO_STATE_CHANGE10+ +Indicates that the power-on and power-off status of the modem has changed. +- Value: **usual.event.RADIO_STATE_CHANGE** + +## COMMON_EVENT_SCREEN_LOCKED 10+ + +Indicates that the screen is locked. + +- Value: **usual.event.SCREEN_LOCKED** +- Required subscriber permissions: none + +## COMMON_EVENT_SCREEN_UNLOCKED10+ + +Indicates that the screen is unlocked. + +- Value: **usual.event.SCREEN_UNLOCKED** +- Required subscriber permissions: none -- GitLab