harmony 鸿蒙js-apidiff-notification

  • 2023-06-24
  • 浏览 (660)

操作 旧版本 新版本 d.ts文件
新增 NA 类名:commonEventManager
方法or属性:function removeStickyCommonEvent(event: string, callback: AsyncCallback<void>): void;
@ohos.commonEventManager.d.ts
新增 NA 类名:commonEventManager
方法or属性:function removeStickyCommonEvent(event: string): Promise<void>;
@ohos.commonEventManager.d.ts
新增 NA 类名:commonEventManager
方法or属性:function setStaticSubscriberState(enable: boolean, callback: AsyncCallback<void>): void;
@ohos.commonEventManager.d.ts
新增 NA 类名:commonEventManager
方法or属性:function setStaticSubscriberState(enable: boolean): Promise<void>;
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_CHARGE_TYPE_CHANGED = “usual.event.CHARGE_TYPE_CHANGED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_DEVICE_IDLE_EXEMPTION_LIST_UPDATED = “usual.event.DEVICE_IDLE_EXEMPTION_LIST_UPDATED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_QUICK_FIX_REVOKE_RESULT = “usual.event.QUICK_FIX_REVOKE_RESULT”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_HTTP_PROXY_CHANGE = “usual.event.HTTP_PROXY_CHANGE”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_SIM_STATE_CHANGED = “usual.event.SIM_STATE_CHANGED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_SMS_RECEIVE_COMPLETED = “usual.event.SMS_RECEIVE_COMPLETED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_SMS_EMERGENCY_CB_RECEIVE_COMPLETED = “usual.event.SMS_EMERGENCY_CB_RECEIVE_COMPLETED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_SMS_CB_RECEIVE_COMPLETED = “usual.event.SMS_CB_RECEIVE_COMPLETED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_STK_COMMAND = “usual.event.STK_COMMAND”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_STK_SESSION_END = “usual.event.STK_SESSION_END”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_STK_CARD_STATE_CHANGED = “usual.event.STK_CARD_STATE_CHANGED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_STK_ALPHA_IDENTIFIER = “usual.event.STK_ALPHA_IDENTIFIER”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_SMS_WAPPUSH_RECEIVE_COMPLETED = “usual.event.SMS_WAPPUSH_RECEIVE_COMPLETED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_OPERATOR_CONFIG_CHANGED = “usual.event.OPERATOR_CONFIG_CHANGED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_SIM_CARD_DEFAULT_SMS_SUBSCRIPTION_CHANGED = “usual.event.SIM.DEFAULT_SMS_SUBSCRIPTION_CHANGED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_SIM_CARD_DEFAULT_DATA_SUBSCRIPTION_CHANGED = “usual.event.SIM.DEFAULT_DATA_SUBSCRIPTION_CHANGED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_SIM_CARD_DEFAULT_MAIN_SUBSCRIPTION_CHANGED = “usual.event.SIM.DEFAULT_MAIN_SUBSCRIPTION_CHANGED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_SIM_CARD_DEFAULT_VOICE_SUBSCRIPTION_CHANGED = “usual.event.SIM.DEFAULT_VOICE_SUBSCRIPTION_CHANGED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_CALL_STATE_CHANGED = “usual.event.CALL_STATE_CHANGED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_CELLULAR_DATA_STATE_CHANGED = “usual.event.CELLULAR_DATA_STATE_CHANGED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_NETWORK_STATE_CHANGED = “usual.event.NETWORK_STATE_CHANGED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_SIGNAL_INFO_CHANGED = “usual.event.SIGNAL_INFO_CHANGED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_INCOMING_CALL_MISSED = “usual.event.INCOMING_CALL_MISSED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_RADIO_STATE_CHANGE = “usual.event.RADIO_STATE_CHANGE”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_DOMAIN_ACCOUNT_STATUS_CHANGED = “usual.event.DOMAIN_ACCOUNT_STATUS_CHANGED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_SCREEN_UNLOCKED = “usual.event.SCREEN_UNLOCKED”
@ohos.commonEventManager.d.ts
新增 NA 类名:Support
方法or属性:COMMON_EVENT_SCREEN_LOCKED = “usual.event.SCREEN_LOCKED”
@ohos.commonEventManager.d.ts
新增 NA 类名:notificationManager
方法or属性:function setBadgeNumber(badgeNumber: number, callback: AsyncCallback<void>): void;
@ohos.notificationManager.d.ts
新增 NA 类名:notificationManager
方法or属性:function setBadgeNumber(badgeNumber: number): Promise<void>;
@ohos.notificationManager.d.ts
新增 NA 类名:notificationManager
方法or属性:function on(type: ‘checkNotification’, callback: (checkInfo: NotificationCheckInfo) => NotificationCheckResult): void;
@ohos.notificationManager.d.ts
新增 NA 类名:notificationManager
方法or属性:function off(type: ‘checkNotification’, callback?: (checkInfo: NotificationCheckInfo) => NotificationCheckResult): void;
@ohos.notificationManager.d.ts
新增 NA 模块名: ohos.notificationManager
类名: NotificationCheckInfo
@ohos.notificationManager.d.ts
新增 NA 模块名: ohos.notificationManager
类名: NotificationCheckInfo
方法 or 属性:bundleName: string;
@ohos.notificationManager.d.ts
新增 NA 模块名: ohos.notificationManager
类名: NotificationCheckInfo
方法 or 属性:notificationId: number;
@ohos.notificationManager.d.ts
新增 NA 模块名: ohos.notificationManager
类名: NotificationCheckInfo
方法 or 属性:contentType: ContentType;
@ohos.notificationManager.d.ts
新增 NA 模块名: ohos.notificationManager
类名: NotificationCheckResult
@ohos.notificationManager.d.ts
新增 NA 模块名: ohos.notificationManager
类名: NotificationCheckResult
方法 or 属性:code: number;
@ohos.notificationManager.d.ts
新增 NA 模块名: ohos.notificationManager
类名: NotificationCheckResult
方法 or 属性:message: string;
@ohos.notificationManager.d.ts
新增 NA 模块名: ohos.reminderAgentManager
类名: ActionButtonType
方法 or 属性:ACTION_BUTTON_TYPE_CUSTOM = 2
@ohos.reminderAgentManager.d.ts
新增 NA 模块名: ohos.reminderAgentManager
类名: ActionButton
方法 or 属性:wantAgent?: WantAgent;
@ohos.reminderAgentManager.d.ts
新增 NA 模块名: ohos.reminderAgentManager
类名: WantAgent
方法 or 属性:uri?: string;
@ohos.reminderAgentManager.d.ts
新增 NA 类名:ReminderRequest
方法or属性:actionButton?: [ActionButton?, ActionButton?, ActionButton?];
@ohos.reminderAgentManager.d.ts
新增 NA 类名:ReminderRequest
方法or属性:tapDismissed?: boolean;
@ohos.reminderAgentManager.d.ts
新增 NA 类名:ReminderRequest
方法or属性:autoDeletedTime?: number;
@ohos.reminderAgentManager.d.ts
新增 NA 类名:NotificationSubscriber
方法or属性:onBadgeChanged?: (data: BadgeNumberCallbackData) => void;
notificationSubscriber.d.ts
新增 NA 模块名: notificationSubscriber
类名: BadgeNumberCallbackData
notificationSubscriber.d.ts
新增 NA 模块名: notificationSubscriber
类名: BadgeNumberCallbackData
方法 or 属性:readonly bundle: string;
notificationSubscriber.d.ts
新增 NA 模块名: notificationSubscriber
类名: BadgeNumberCallbackData
方法 or 属性:readonly uid: number;
notificationSubscriber.d.ts
新增 NA 模块名: notificationSubscriber
类名: BadgeNumberCallbackData
方法 or 属性:readonly badgeNumber: number;
notificationSubscriber.d.ts
废弃版本有变化 类名:Support
方法 or 属性:COMMON_EVENT_USER_PRESENT = “usual.event.USER_PRESENT”
废弃版本:N/A
类名:Support
方法 or 属性:COMMON_EVENT_USER_PRESENT = “usual.event.USER_PRESENT”
废弃版本:10
代替接口:N/A
@ohos.commonEventManager.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Readme

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

harmony 鸿蒙js-apidiff-compiler-and-runtime

harmony 鸿蒙js-apidiff-customization

0  赞