fix send event.

Signed-off-by: dingxiaochen <dingxiaochen@huawei.com>
This commit is contained in:
dingxiaochen 2023-03-16 17:16:38 +08:00
parent 9c9bd9d216
commit 56512f299c
2 changed files with 156 additions and 2 deletions

View File

@ -1023,7 +1023,159 @@ declare namespace commonEventManager {
* This is a protected common event that can only be sent by system.
* @since 10
*/
COMMON_EVENT_HTTP_PROXY_CHANGE = "usual.event.HTTP_PROXY_CHANGE"
COMMON_EVENT_HTTP_PROXY_CHANGE = "usual.event.HTTP_PROXY_CHANGE",
/**
* Indicates the action of a common event that the phone SIM card state has changed.
* This is a protected common event that can only be sent by system.
* @since 10
*/
COMMON_EVENT_SIM_STATE_CHANGED = "usual.event.SIM_STATE_CHANGED",
/**
* Indicate the action of a common event that a new sms bas been received by the device.
* To subscribe to this common event, your application must have the ohos.permission.RECEIVE_SMS permission.
* This common event can be triggered only by system.
* @since 10
*/
COMMON_EVENT_SMS_RECEIVED_COMPLETED = "usual.event.SMS_RECEIVED_COMPLETED",
/**
* Indicate the action of a common event that a new sms emergency cell broadcast bas been received by the device.
* This common event can be triggered only by system.
* @since 10
*/
COMMON_EVENT_SMS_EMERGENCY_CB_RECEIVE_COMPLETED = "usual.event.SMS_EMERGENCY_CB_RECEIVE_COMPLETED",
/**
* Indicate the action of a common event that a new sms normal cell broadcast bas been received by the device.
* This common event can be triggered only by system.
* @since 10
*/
COMMON_EVENT_SMS_CB_RECEIVE_COMPLETED = "usual.event.SMS_CB_RECEIVE_COMPLETED",
/**
* Indicate the action of a common event that a STK command has been received by the device.
* This common event can be triggered only by system.
* @since 10
*/
COMMON_EVENT_STK_COMMAND = "usual.event.STK_COMMAND",
/**
* Indicate the action of a common event that STK session end.
* This common event can be triggered only by system.
* @since 10
*/
COMMON_EVENT_STK_SESSION_END = "usual.event.STK_SESSION_END",
/**
* Indicate the action of a common event that the STK phone card state has changed.
* This common event can be triggered only by system.
* @since 10
*/
COMMON_EVENT_STK_CARD_STATE_CHANGED = "usual.event.STK_CARD_STATE_CHANGED",
/**
* Indicate the action of a common event that an alpha string during call control has been received by the device.
* This common event can be triggered only by system.
* @since 10
*/
COMMON_EVENT_STK_ALPHA_IDENTIFIER = "usual.event.STK_ALPHA_IDENTIFIER",
/**
* Indicate the action of a common event that the spn display information has been updated.
* This common event can be triggered only by system.
* @since 10
*/
COMMON_EVENT_SPN_INFO_CHANGED = "usual.event.SPN_INFO_CHANGED",
/**
* Indicate the action of a common event that a new sms wappush has been received by the device.
* This common event can be triggered only by system.
* @since 10
*/
COMMON_EVENT_SMS_WAPPUSH_RECEIVE_COMPLETED = "usual.event.SMS_WAPPUSH_RECEIVE_COMPLETED",
/**
* Indicate the action of a common event that the operator config has been updated.
* This common event can be triggered only by system.
* @since 10
*/
COMMON_EVENT_OPERATOR_CONFIG_CHANGED = "usual.event.OPERATOR_CONFIG_CHANGED",
/**
* Indicates the action of a common event that the default SMS subscription has been changed.
* This is a protected common event that can only be sent by system.
* @since 10
*/
COMMON_EVENT_SIM_CARD_DEFAULT_SMS_SUBSCRIPTION_CHANGED = "usual.event.SIM.DEFAULT_SMS_SUBSCRIPTION_CHANGED",
/**
* Indicates the action of a common event that the default data subscription has been changed.
* This is a protected common event that can only be sent by system.
* @since 10
*/
COMMON_EVENT_SIM_CARD_DEFAULT_DATA_SUBSCRIPTION_CHANGED = "usual.event.SIM.DEFAULT_DATA_SUBSCRIPTION_CHANGED",
/**
* Indicates the action of a common event that the default main subscription has been changed.
* This is a protected common event that can only be sent by system.
* @since 10
*/
COMMON_EVENT_SIM_CARD_DEFAULT_MAIN_SUBSCRIPTION_CHANGED = "usual.event.SIM.DEFAULT_MAIN_SUBSCRIPTION_CHANGED",
/**
* Indicates the action of a common event that the default voice subscription has been changed.
* This is a protected common event that can only be sent by system.
* @since 10
*/
COMMON_EVENT_SIM_CARD_DEFAULT_VOICE_SUBSCRIPTION_CHANGED = "usual.event.SIM.DEFAULT_VOICE_SUBSCRIPTION_CHANGED",
/**
* Indicates the action of a common event that the call state has been changed.
* To subscribe to this protected common event, your application must have the ohos.permission.GET_TELEPHONY_STATE
* permission.
* This is a protected common event that can only be sent by system.
* @since 10
*/
COMMON_EVENT_CALL_STATE_CHANGED = "usual.event.CALL_STATE_CHANGED",
/**
* Indicates the action of a common event that the cellular data state has been changed.
* This is a protected common event that can only be sent by system.
* @since 10
*/
COMMON_EVENT_CELLULAR_DATA_STATE_CHANGED = "usual.event.CELLULAR_DATA_STATE_CHANGED",
/**
* Indicates the action of a common event that the network state has been changed.
* This is a protected common event that can only be sent by system.
* @since 10
*/
COMMON_EVENT_NETWORK_STATE_CHANGED = "usual.event.NETWORK_STATE_CHANGED",
/**
* Indicates the action of a common event that the signal info has been changed.
* This is a protected common event that can only be sent by system.
* @since 10
*/
COMMON_EVENT_SIGNAL_INFO_CHANGED = "usual.event.SIGNAL_INFO_CHANGED",
/**
* Indicates the action of a common event that the incoming call has been missed.
* To subscribe to this protected common event, your application must have the ohos.permission.GET_TELEPHONY_STATE
* permission.
* This is a protected common event that can only be sent by system.
* @since 10
*/
COMMON_EVENT_INCOMING_CALL_MISSED = "usual.event.INCOMING_CALL_MISSED",
/**
* Indicates the action of a common event that radio state change.
* 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"
}
}

View File

@ -594,6 +594,7 @@ sigalgs
silenced
slidable
sliderstyle
stk
sm3
smil
smsc
@ -754,6 +755,7 @@ wakes
waking
wallpapers
wapi
wappush
watchers
waterflow
wcdma
@ -791,4 +793,4 @@ zoomin
zoomout
zoomreset
zooms
zpass
zpass