1# JS API Changes of the DFX Subsystem 2 3The table below lists the APIs changes of the DFX subsystem in OpenHarmony 3.2 Beta2 over OpenHarmony 3.2 Beta1. 4 5## API Changes 6 7| Module| Class| Method/Attribute/Enumeration/Constant| Change Type| 8|---|---|---|---| 9| ohos.hiSysEvent | hiSysEvent | query(queryArg: QueryArg, rules: QueryRule[], querier: Querier): number; | Added| 10| ohos.hiSysEvent | hiSysEvent | removeWatcher(wathcer: Watcher): number; | Added| 11| ohos.hiSysEvent | hiSysEvent | addWatcher(watcher: Watcher): number; | Added| 12| ohos.hiSysEvent | Querier | onComplete: (reason: number, total: number) => void; | Added| 13| ohos.hiSysEvent | Querier | onQuery: (infos: SysEventInfo[], seqs: number[]) => void; | Added| 14| ohos.hiSysEvent | QueryRule | names: string[]; | Added| 15| ohos.hiSysEvent | QueryRule | domain: string; | Added| 16| ohos.hiSysEvent | QueryArg | maxEvents: number; | Added| 17| ohos.hiSysEvent | QueryArg | endTime: number; | Added| 18| ohos.hiSysEvent | QueryArg | beginTime: number; | Added| 19| ohos.hiSysEvent | Watcher | onServiceDied: () => void; | Added| 20| ohos.hiSysEvent | Watcher | onEvent: (info: SysEventInfo) => void; | Added| 21| ohos.hiSysEvent | Watcher | rules: WatchRule[]; | Added| 22| ohos.hiSysEvent | WatchRule | ruleType: RuleType; | Added| 23| ohos.hiSysEvent | WatchRule | tag: string; | Added| 24| ohos.hiSysEvent | WatchRule | name: string; | Added| 25| ohos.hiSysEvent | WatchRule | domain: string; | Added| 26| ohos.hiSysEvent | RuleType | REGULAR = 3 | Added| 27| ohos.hiSysEvent | RuleType | PREFIX = 2 | Added| 28| ohos.hiSysEvent | RuleType | WHOLE_WORD = 1 | Added| 29| ohos.hiSysEvent | hiSysEvent | write(info: SysEventInfo): Promise\<void>;<br>write(info: SysEventInfo, callback: AsyncCallback\<void>): void; | Added| 30| ohos.hiSysEvent | SysEventInfo | params: object; | Added| 31| ohos.hiSysEvent | SysEventInfo | eventType: EventType; | Added| 32| ohos.hiSysEvent | SysEventInfo | name: string; | Added| 33| ohos.hiSysEvent | SysEventInfo | domain: string; | Added| 34| ohos.hiSysEvent | EventType | BEHAVIOR = 4 | Added| 35| ohos.hiSysEvent | EventType | SECURITY = 3 | Added| 36| ohos.hiSysEvent | EventType | STATISTIC = 2 | Added| 37| ohos.hiSysEvent | EventType | FAULT = 1 | Added| 38