1| 操作 | 旧版本 | 新版本 | d.ts文件 | 2| ---- | ------ | ------ | -------- | 3|新增|NA|类名:commonEventManager<br>方法or属性:function removeStickyCommonEvent(event: string, callback: AsyncCallback\<void>): void;|@ohos.commonEventManager.d.ts| 4|新增|NA|类名:commonEventManager<br>方法or属性:function removeStickyCommonEvent(event: string): Promise\<void>;|@ohos.commonEventManager.d.ts| 5|新增|NA|类名:commonEventManager<br>方法or属性:function setStaticSubscriberState(enable: boolean, callback: AsyncCallback\<void>): void;|@ohos.commonEventManager.d.ts| 6|新增|NA|类名:commonEventManager<br>方法or属性:function setStaticSubscriberState(enable: boolean): Promise\<void>;|@ohos.commonEventManager.d.ts| 7|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_CHARGE_TYPE_CHANGED = "usual.event.CHARGE_TYPE_CHANGED"|@ohos.commonEventManager.d.ts| 8|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_DEVICE_IDLE_EXEMPTION_LIST_UPDATED = "usual.event.DEVICE_IDLE_EXEMPTION_LIST_UPDATED"|@ohos.commonEventManager.d.ts| 9|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_QUICK_FIX_REVOKE_RESULT = "usual.event.QUICK_FIX_REVOKE_RESULT"|@ohos.commonEventManager.d.ts| 10|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_HTTP_PROXY_CHANGE = "usual.event.HTTP_PROXY_CHANGE"|@ohos.commonEventManager.d.ts| 11|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_SIM_STATE_CHANGED = "usual.event.SIM_STATE_CHANGED"|@ohos.commonEventManager.d.ts| 12|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_SMS_RECEIVE_COMPLETED = "usual.event.SMS_RECEIVE_COMPLETED"|@ohos.commonEventManager.d.ts| 13|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_SMS_EMERGENCY_CB_RECEIVE_COMPLETED = "usual.event.SMS_EMERGENCY_CB_RECEIVE_COMPLETED"|@ohos.commonEventManager.d.ts| 14|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_SMS_CB_RECEIVE_COMPLETED = "usual.event.SMS_CB_RECEIVE_COMPLETED"|@ohos.commonEventManager.d.ts| 15|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_STK_COMMAND = "usual.event.STK_COMMAND"|@ohos.commonEventManager.d.ts| 16|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_STK_SESSION_END = "usual.event.STK_SESSION_END"|@ohos.commonEventManager.d.ts| 17|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_STK_CARD_STATE_CHANGED = "usual.event.STK_CARD_STATE_CHANGED"|@ohos.commonEventManager.d.ts| 18|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_STK_ALPHA_IDENTIFIER = "usual.event.STK_ALPHA_IDENTIFIER"|@ohos.commonEventManager.d.ts| 19|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_SMS_WAPPUSH_RECEIVE_COMPLETED = "usual.event.SMS_WAPPUSH_RECEIVE_COMPLETED"|@ohos.commonEventManager.d.ts| 20|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_OPERATOR_CONFIG_CHANGED = "usual.event.OPERATOR_CONFIG_CHANGED"|@ohos.commonEventManager.d.ts| 21|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_SIM_CARD_DEFAULT_SMS_SUBSCRIPTION_CHANGED = "usual.event.SIM.DEFAULT_SMS_SUBSCRIPTION_CHANGED"|@ohos.commonEventManager.d.ts| 22|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_SIM_CARD_DEFAULT_DATA_SUBSCRIPTION_CHANGED = "usual.event.SIM.DEFAULT_DATA_SUBSCRIPTION_CHANGED"|@ohos.commonEventManager.d.ts| 23|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_SIM_CARD_DEFAULT_MAIN_SUBSCRIPTION_CHANGED = "usual.event.SIM.DEFAULT_MAIN_SUBSCRIPTION_CHANGED"|@ohos.commonEventManager.d.ts| 24|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_SIM_CARD_DEFAULT_VOICE_SUBSCRIPTION_CHANGED = "usual.event.SIM.DEFAULT_VOICE_SUBSCRIPTION_CHANGED"|@ohos.commonEventManager.d.ts| 25|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_CALL_STATE_CHANGED = "usual.event.CALL_STATE_CHANGED"|@ohos.commonEventManager.d.ts| 26|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_CELLULAR_DATA_STATE_CHANGED = "usual.event.CELLULAR_DATA_STATE_CHANGED"|@ohos.commonEventManager.d.ts| 27|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_NETWORK_STATE_CHANGED = "usual.event.NETWORK_STATE_CHANGED"|@ohos.commonEventManager.d.ts| 28|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_SIGNAL_INFO_CHANGED = "usual.event.SIGNAL_INFO_CHANGED"|@ohos.commonEventManager.d.ts| 29|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_INCOMING_CALL_MISSED = "usual.event.INCOMING_CALL_MISSED"|@ohos.commonEventManager.d.ts| 30|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_RADIO_STATE_CHANGE = "usual.event.RADIO_STATE_CHANGE"|@ohos.commonEventManager.d.ts| 31|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_DOMAIN_ACCOUNT_STATUS_CHANGED = "usual.event.DOMAIN_ACCOUNT_STATUS_CHANGED"|@ohos.commonEventManager.d.ts| 32|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_SCREEN_UNLOCKED = "usual.event.SCREEN_UNLOCKED"|@ohos.commonEventManager.d.ts| 33|新增|NA|类名:Support<br>方法or属性:COMMON_EVENT_SCREEN_LOCKED = "usual.event.SCREEN_LOCKED"|@ohos.commonEventManager.d.ts| 34|新增|NA|类名:notificationManager<br>方法or属性:function setBadgeNumber(badgeNumber: number, callback: AsyncCallback\<void>): void;|@ohos.notificationManager.d.ts| 35|新增|NA|类名:notificationManager<br>方法or属性:function setBadgeNumber(badgeNumber: number): Promise\<void>;|@ohos.notificationManager.d.ts| 36|新增|NA|类名:notificationManager<br>方法or属性:function on(type: 'checkNotification', callback: (checkInfo: NotificationCheckInfo) => NotificationCheckResult): void;|@ohos.notificationManager.d.ts| 37|新增|NA|类名:notificationManager<br>方法or属性:function off(type: 'checkNotification', callback?: (checkInfo: NotificationCheckInfo) => NotificationCheckResult): void;|@ohos.notificationManager.d.ts| 38|新增|NA|模块名: ohos.notificationManager<br>类名: NotificationCheckInfo|@ohos.notificationManager.d.ts| 39|新增|NA|模块名: ohos.notificationManager<br>类名: NotificationCheckInfo<br>方法 or 属性:bundleName: string;|@ohos.notificationManager.d.ts| 40|新增|NA|模块名: ohos.notificationManager<br>类名: NotificationCheckInfo<br>方法 or 属性:notificationId: number;|@ohos.notificationManager.d.ts| 41|新增|NA|模块名: ohos.notificationManager<br>类名: NotificationCheckInfo<br>方法 or 属性:contentType: ContentType;|@ohos.notificationManager.d.ts| 42|新增|NA|模块名: ohos.notificationManager<br>类名: NotificationCheckResult|@ohos.notificationManager.d.ts| 43|新增|NA|模块名: ohos.notificationManager<br>类名: NotificationCheckResult<br>方法 or 属性:code: number;|@ohos.notificationManager.d.ts| 44|新增|NA|模块名: ohos.notificationManager<br>类名: NotificationCheckResult<br>方法 or 属性:message: string;|@ohos.notificationManager.d.ts| 45|新增|NA|模块名: ohos.reminderAgentManager<br>类名: ActionButtonType<br>方法 or 属性:ACTION_BUTTON_TYPE_CUSTOM = 2|@ohos.reminderAgentManager.d.ts| 46|新增|NA|模块名: ohos.reminderAgentManager<br>类名: ActionButton<br>方法 or 属性:wantAgent?: WantAgent;|@ohos.reminderAgentManager.d.ts| 47|新增|NA|模块名: ohos.reminderAgentManager<br>类名: WantAgent<br>方法 or 属性:uri?: string;|@ohos.reminderAgentManager.d.ts| 48|新增|NA|类名:ReminderRequest<br>方法or属性:actionButton?: [ActionButton?, ActionButton?, ActionButton?];|@ohos.reminderAgentManager.d.ts| 49|新增|NA|类名:ReminderRequest<br>方法or属性:tapDismissed?: boolean;|@ohos.reminderAgentManager.d.ts| 50|新增|NA|类名:ReminderRequest<br>方法or属性:autoDeletedTime?: number;|@ohos.reminderAgentManager.d.ts| 51|新增|NA|类名:NotificationSubscriber<br>方法or属性:onBadgeChanged?: (data: BadgeNumberCallbackData) => void;|notificationSubscriber.d.ts| 52|新增|NA|模块名: notificationSubscriber<br>类名: BadgeNumberCallbackData|notificationSubscriber.d.ts| 53|新增|NA|模块名: notificationSubscriber<br>类名: BadgeNumberCallbackData<br>方法 or 属性:readonly bundle: string;|notificationSubscriber.d.ts| 54|新增|NA|模块名: notificationSubscriber<br>类名: BadgeNumberCallbackData<br>方法 or 属性:readonly uid: number;|notificationSubscriber.d.ts| 55|新增|NA|模块名: notificationSubscriber<br>类名: BadgeNumberCallbackData<br>方法 or 属性:readonly badgeNumber: number;|notificationSubscriber.d.ts| 56|废弃版本有变化|类名:Support<br>方法 or 属性:COMMON_EVENT_USER_PRESENT = "usual.event.USER_PRESENT"<br>废弃版本:N/A|类名:Support<br>方法 or 属性:COMMON_EVENT_USER_PRESENT = "usual.event.USER_PRESENT"<br>废弃版本:10<br>代替接口:N/A|@ohos.commonEventManager.d.ts| 57