openharmony 鸿蒙 js-apidiff-dfx

2023-02-03 浏览 (677)

JS API Changes of the DFX Subsystem

The table below lists the APIs changes of the DFX subsystem in OpenHarmony 3.2 Beta2 over OpenHarmony 3.2 Beta1.

API Changes

ModuleClassMethod/Attribute/Enumeration/ConstantChange Type
ohos.hiSysEventhiSysEventquery(queryArg: QueryArg, rules: QueryRule[], querier: Querier): number;Added
ohos.hiSysEventhiSysEventremoveWatcher(wathcer: Watcher): number;Added
ohos.hiSysEventhiSysEventaddWatcher(watcher: Watcher): number;Added
ohos.hiSysEventQuerieronComplete: (reason: number, total: number) => void;Added
ohos.hiSysEventQuerieronQuery: (infos: SysEventInfo[], seqs: number[]) => void;Added
ohos.hiSysEventQueryRulenames: string[];Added
ohos.hiSysEventQueryRuledomain: string;Added
ohos.hiSysEventQueryArgmaxEvents: number;Added
ohos.hiSysEventQueryArgendTime: number;Added
ohos.hiSysEventQueryArgbeginTime: number;Added
ohos.hiSysEventWatcheronServiceDied: () => void;Added
ohos.hiSysEventWatcheronEvent: (info: SysEventInfo) => void;Added
ohos.hiSysEventWatcherrules: WatchRule[];Added
ohos.hiSysEventWatchRuleruleType: RuleType;Added
ohos.hiSysEventWatchRuletag: string;Added
ohos.hiSysEventWatchRulename: string;Added
ohos.hiSysEventWatchRuledomain: string;Added
ohos.hiSysEventRuleTypeREGULAR = 3Added
ohos.hiSysEventRuleTypePREFIX = 2Added
ohos.hiSysEventRuleTypeWHOLE_WORD = 1Added
ohos.hiSysEventhiSysEventwrite(info: SysEventInfo): Promise<void>;
write(info: SysEventInfo, callback: AsyncCallback<void>): void;
Added
ohos.hiSysEventSysEventInfoparams: object;Added
ohos.hiSysEventSysEventInfoeventType: EventType;Added
ohos.hiSysEventSysEventInfoname: string;Added
ohos.hiSysEventSysEventInfodomain: string;Added
ohos.hiSysEventEventTypeBEHAVIOR = 4Added
ohos.hiSysEventEventTypeSECURITY = 3Added
ohos.hiSysEventEventTypeSTATISTIC = 2Added
ohos.hiSysEventEventTypeFAULT = 1Added

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Changes of the Ability Framework

harmony 鸿蒙JS API Changes of the Accessibility Subsystem

harmony 鸿蒙JS API Changes of the Account Subsystem

harmony 鸿蒙JS API Changes of the ArkUI Development Framework

harmony 鸿蒙JS API Changes of the Bundle Management Framework

harmony 鸿蒙JS API Changes of the Communication Subsystem

harmony 鸿蒙JS API Changes of the Compiler and Runtime Subsystem

harmony 鸿蒙JS API Changes of the Distributed Data Management Subsystem

harmony 鸿蒙JS API Changes of the Common Event and Notification Subsystem

harmony 鸿蒙JS API Changes of the File Management Subsystem

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/110ca1a468284cc69ab4ab683db57375