| Change Type | Old Version | New Version | d.ts File |
|---|---|---|---|
| Added | NA | Class name: hiSysEvent; Method or attribute name: function exportSysEvents(queryArg: QueryArg, rules: QueryRule[]): number; | @ohos.hiSysEvent.d.ts |
| Added | NA | Class name: hiSysEvent; Method or attribute name: function subscribe(rules: QueryRule[]): number; | @ohos.hiSysEvent.d.ts |
| Added | NA | Class name: hiSysEvent; Method or attribute name: function unsubscribe(): void; | @ohos.hiSysEvent.d.ts |
| Added | NA | Class name: QueryArg; Method or attribute name: fromSeq?: number; | @ohos.hiSysEvent.d.ts |
| Added | NA | Class name: QueryArg; Method or attribute name: toSeq?: number; | @ohos.hiSysEvent.d.ts |
| Added | NA | Class name: QueryRule; Method or attribute name: condition?: string; | @ohos.hiSysEvent.d.ts |
| Added | NA | Class name: logLibrary; Method or attribute name: function list(logType: string): LogEntry[]; | @ohos.logLibrary.d.ts |
| Added | NA | Class name: logLibrary; Method or attribute name: function copy(logType: string, logName: string, dest: string): Promise<void>; | @ohos.logLibrary.d.ts |
| Added | NA | Class name: logLibrary; Method or attribute name: function copy(logType: string, logName: string, dest: string, callback: AsyncCallback<void>): void; | @ohos.logLibrary.d.ts |
| Added | NA | Class name: logLibrary; Method or attribute name: function move(logType: string, logName: string, dest: string): Promise<void>; | @ohos.logLibrary.d.ts |
| Added | NA | Class name: logLibrary; Method or attribute name: function move(logType: string, logName: string, dest: string, callback: AsyncCallback<void>): void; | @ohos.logLibrary.d.ts |
| Added | NA | Class name: logLibrary; Method or attribute name: function remove(logType: string, logName: string): void; | @ohos.logLibrary.d.ts |
| Added | NA | Class name: LogEntry; Method or attribute name: name: string; | @ohos.logLibrary.d.ts |
| Added | NA | Class name: LogEntry; Method or attribute name: mtime: number; | @ohos.logLibrary.d.ts |
| Added | NA | Class name: LogEntry; Method or attribute name: size: number; | @ohos.logLibrary.d.ts |
| Error code added | Class name: hiSysEvent; Method or attribute name: function write(info: SysEventInfo, callback: AsyncCallback<void>): void; Old version information: | Class name: hiSysEvent; Method or attribute name: function write(info: SysEventInfo, callback: AsyncCallback<void>): void; New version information: 401, 11200001, 11200002, 11200003,11200004, 11200051, 11200052, 11200053,11200054 | @ohos.hiSysEvent.d.ts |
| Error code added | Class name: hiAppEvent; Method or attribute name: function write(info: AppEventInfo, callback: AsyncCallback<void>): void; Old version information: | Class name: hiAppEvent; Method or attribute name: function write(info: AppEventInfo, callback: AsyncCallback<void>): void; New version information: 401, 11100001, 11101001, 11101002, 11101003,11101004, 11101005, 11101006 | @ohos.hiviewdfx.hiAppEvent.d.ts |
| Error code changed | Class name: hiSysEvent; Method or attribute name: function addWatcher(watcher: Watcher): void; Old version information: 201,401, 11200101, 11200102 | Class name: hiSysEvent; Method or attribute name: function addWatcher(watcher: Watcher): void; New version information: 201,202,401, 11200101, 11200102 | @ohos.hiSysEvent.d.ts |
| Error code changed | Class name: hiSysEvent; Method or attribute name: function removeWatcher(watcher: Watcher): void; Old version information: 201,401, 11200201 | Class name: hiSysEvent; Method or attribute name: function removeWatcher(watcher: Watcher): void; New version information: 201,202,401, 11200201 | @ohos.hiSysEvent.d.ts |
| Error code changed | Class name: hiSysEvent; Method or attribute name: function query(queryArg: QueryArg, rules: QueryRule[], querier: Querier): void; Old version information: 201,401, 11200301, 11200302, 11200303,11200304 | Class name: hiSysEvent; Method or attribute name: function query(queryArg: QueryArg, rules: QueryRule[], querier: Querier): void; New version information: 201,202,401, 11200301, 11200302, 11200303,11200304 | @ohos.hiSysEvent.d.ts |
| Access level changed | Class name: hiSysEvent; Method or attribute name: function write(info: SysEventInfo, callback: AsyncCallback<void>): void; Old version information: | Class name: hiSysEvent; Method or attribute name: function write(info: SysEventInfo, callback: AsyncCallback<void>): void; New version information: systemapi | @ohos.hiSysEvent.d.ts |
| Access level changed | Class name: SysEventInfo; Method or attribute name: domain: string; Old version information: | Class name: SysEventInfo; Method or attribute name: domain: string; New version information: systemapi | @ohos.hiSysEvent.d.ts |
| Access level changed | Class name: WatchRule; Method or attribute name: domain: string; Old version information: | Class name: WatchRule; Method or attribute name: domain: string; New version information: systemapi | @ohos.hiSysEvent.d.ts |
| Access level changed | Class name: QueryRule; Method or attribute name: domain: string; Old version information: | Class name: QueryRule; Method or attribute name: domain: string; New version information: systemapi | @ohos.hiSysEvent.d.ts |
| Access level changed | Class name: SysEventInfo; Method or attribute name: name: string; Old version information: | Class name: SysEventInfo; Method or attribute name: name: string; New version information: systemapi | @ohos.hiSysEvent.d.ts |
| Access level changed | Class name: WatchRule; Method or attribute name: name: string; Old version information: | Class name: WatchRule; Method or attribute name: name: string; New version information: systemapi | @ohos.hiSysEvent.d.ts |
| Access level changed | Class name: SysEventInfo; Method or attribute name: eventType: EventType; Old version information: | Class name: SysEventInfo; Method or attribute name: eventType: EventType; New version information: systemapi | @ohos.hiSysEvent.d.ts |
| Access level changed | Class name: SysEventInfo; Method or attribute name: params: object; Old version information: | Class name: SysEventInfo; Method or attribute name: params: object; New version information: systemapi | @ohos.hiSysEvent.d.ts |
| Access level changed | Class name: WatchRule; Method or attribute name: tag: string; Old version information: | Class name: WatchRule; Method or attribute name: tag: string; New version information: systemapi | @ohos.hiSysEvent.d.ts |
| Access level changed | Class name: WatchRule; Method or attribute name: ruleType: RuleType; Old version information: | Class name: WatchRule; Method or attribute name: ruleType: RuleType; New version information: systemapi | @ohos.hiSysEvent.d.ts |
| Access level changed | Class name: Watcher; Method or attribute name: rules: WatchRule[]; Old version information: | Class name: Watcher; Method or attribute name: rules: WatchRule[]; New version information: systemapi | @ohos.hiSysEvent.d.ts |
| Access level changed | Class name: QueryArg; Method or attribute name: beginTime: number; Old version information: | Class name: QueryArg; Method or attribute name: beginTime: number; New version information: systemapi | @ohos.hiSysEvent.d.ts |
| Access level changed | Class name: QueryArg; Method or attribute name: endTime: number; Old version information: | Class name: QueryArg; Method or attribute name: endTime: number; New version information: systemapi | @ohos.hiSysEvent.d.ts |
| Access level changed | Class name: QueryArg; Method or attribute name: maxEvents: number; Old version information: | Class name: QueryArg; Method or attribute name: maxEvents: number; New version information: systemapi | @ohos.hiSysEvent.d.ts |
| Access level changed | Class name: QueryRule; Method or attribute name: names: string[]; Old version information: | Class name: QueryRule; Method or attribute name: names: string[]; New version information: systemapi | @ohos.hiSysEvent.d.ts |
| Type changed | Class name: SysEventInfo; Method or attribute name: domain: string; Old version information: | Class name: SysEventInfo; Method or attribute name: domain: string; New version information: string | @ohos.hiSysEvent.d.ts |
| Type changed | Class name: WatchRule; Method or attribute name: domain: string; Old version information: | Class name: WatchRule; Method or attribute name: domain: string; New version information: string | @ohos.hiSysEvent.d.ts |
| Type changed | Class name: QueryRule; Method or attribute name: domain: string; Old version information: | Class name: QueryRule; Method or attribute name: domain: string; New version information: string | @ohos.hiSysEvent.d.ts |
| Type changed | Class name: SysEventInfo; Method or attribute name: name: string; Old version information: | Class name: SysEventInfo; Method or attribute name: name: string; New version information: string | @ohos.hiSysEvent.d.ts |
| Type changed | Class name: WatchRule; Method or attribute name: name: string; Old version information: | Class name: WatchRule; Method or attribute name: name: string; New version information: string | @ohos.hiSysEvent.d.ts |
| Type changed | Class name: SysEventInfo; Method or attribute name: eventType: EventType; Old version information: | Class name: SysEventInfo; Method or attribute name: eventType: EventType; New version information: EventType | @ohos.hiSysEvent.d.ts |
| Type changed | Class name: SysEventInfo; Method or attribute name: params: object; Old version information: | Class name: SysEventInfo; Method or attribute name: params: object; New version information: object | @ohos.hiSysEvent.d.ts |
| Type changed | Class name: WatchRule; Method or attribute name: tag: string; Old version information: | Class name: WatchRule; Method or attribute name: tag: string; New version information: string | @ohos.hiSysEvent.d.ts |
| Type changed | Class name: WatchRule; Method or attribute name: ruleType: RuleType; Old version information: | Class name: WatchRule; Method or attribute name: ruleType: RuleType; New version information: RuleType | @ohos.hiSysEvent.d.ts |
| Type changed | Class name: QueryArg; Method or attribute name: beginTime: number; Old version information: | Class name: QueryArg; Method or attribute name: beginTime: number; New version information: number | @ohos.hiSysEvent.d.ts |
| Type changed | Class name: QueryArg; Method or attribute name: endTime: number; Old version information: | Class name: QueryArg; Method or attribute name: endTime: number; New version information: number | @ohos.hiSysEvent.d.ts |
| Type changed | Class name: QueryArg; Method or attribute name: maxEvents: number; Old version information: | Class name: QueryArg; Method or attribute name: maxEvents: number; New version information: number | @ohos.hiSysEvent.d.ts |
| Type changed | Class name: QueryRule; Method or attribute name: names: string[]; Old version information: | Class name: QueryRule; Method or attribute name: names: string[]; New version information: string[] | @ohos.hiSysEvent.d.ts |
| Type changed | Class name: HiTraceId; Method or attribute name: chainId: bigint; Old version information: | Class name: HiTraceId; Method or attribute name: chainId: bigint; New version information: bigint | @ohos.hiTraceChain.d.ts |
| Type changed | Class name: HiTraceId; Method or attribute name: spanId?: number; Old version information: | Class name: HiTraceId; Method or attribute name: spanId?: number; New version information: ?number | @ohos.hiTraceChain.d.ts |
| Type changed | Class name: HiTraceId; Method or attribute name: parentSpanId?: number; Old version information: | Class name: HiTraceId; Method or attribute name: parentSpanId?: number; New version information: ?number | @ohos.hiTraceChain.d.ts |
| Type changed | Class name: HiTraceId; Method or attribute name: flags?: number; Old version information: | Class name: HiTraceId; Method or attribute name: flags?: number; New version information: ?number | @ohos.hiTraceChain.d.ts |
| Cross-platform capability changed | Class name: hilog; Method or attribute name: declare hilog Old version information: | Class name: hilog; Method or attribute name: declare hilog New version information: crossplatform | @ohos.hilog.d.ts |
| Cross-platform capability changed | Class name: hilog; Method or attribute name: function debug(domain: number, tag: string, format: string, ...args: any[]): void; Old version information: | Class name: hilog; Method or attribute name: function debug(domain: number, tag: string, format: string, ...args: any[]): void; New version information: crossplatform | @ohos.hilog.d.ts |
| Cross-platform capability changed | Class name: hilog; Method or attribute name: function info(domain: number, tag: string, format: string, ...args: any[]): void; Old version information: | Class name: hilog; Method or attribute name: function info(domain: number, tag: string, format: string, ...args: any[]): void; New version information: crossplatform | @ohos.hilog.d.ts |
| Cross-platform capability changed | Class name: hilog; Method or attribute name: function warn(domain: number, tag: string, format: string, ...args: any[]): void; Old version information: | Class name: hilog; Method or attribute name: function warn(domain: number, tag: string, format: string, ...args: any[]): void; New version information: crossplatform | @ohos.hilog.d.ts |
| Cross-platform capability changed | Class name: hilog; Method or attribute name: function error(domain: number, tag: string, format: string, ...args: any[]): void; Old version information: | Class name: hilog; Method or attribute name: function error(domain: number, tag: string, format: string, ...args: any[]): void; New version information: crossplatform | @ohos.hilog.d.ts |
| Cross-platform capability changed | Class name: hilog; Method or attribute name: function fatal(domain: number, tag: string, format: string, ...args: any[]): void; Old version information: | Class name: hilog; Method or attribute name: function fatal(domain: number, tag: string, format: string, ...args: any[]): void; New version information: crossplatform | @ohos.hilog.d.ts |
| Cross-platform capability changed | Class name: LogLevel; Method or attribute name: enum LogLevel Old version information: | Class name: LogLevel; Method or attribute name: enum LogLevel New version information: crossplatform | @ohos.hilog.d.ts |
| Cross-platform capability changed | Class name: LogLevel; Method or attribute name: DEBUG = 3 Old version information: | Class name: LogLevel; Method or attribute name: DEBUG = 3 New version information: crossplatform | @ohos.hilog.d.ts |
| Cross-platform capability changed | Class name: LogLevel; Method or attribute name: INFO = 4 Old version information: | Class name: LogLevel; Method or attribute name: INFO = 4 New version information: crossplatform | @ohos.hilog.d.ts |
| Cross-platform capability changed | Class name: LogLevel; Method or attribute name: WARN = 5 Old version information: | Class name: LogLevel; Method or attribute name: WARN = 5 New version information: crossplatform | @ohos.hilog.d.ts |
| Cross-platform capability changed | Class name: LogLevel; Method or attribute name: ERROR = 6 Old version information: | Class name: LogLevel; Method or attribute name: ERROR = 6 New version information: crossplatform | @ohos.hilog.d.ts |
| Cross-platform capability changed | Class name: LogLevel; Method or attribute name: FATAL = 7 Old version information: | Class name: LogLevel; Method or attribute name: FATAL = 7 New version information: crossplatform | @ohos.hilog.d.ts |
你可能感兴趣的鸿蒙文章
harmony 鸿蒙js-apidiff-accessibility
harmony 鸿蒙js-apidiff-application