harmony 鸿蒙js-apidiff-dfx

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

Change Type Old Version New Version d.ts File
Added NA Class name: FaultLogger;
Method or attribute name: function query(faultType: FaultType, callback: AsyncCallback<Array<FaultLogInfo>>) : void;
@ohos.faultLogger.d.ts
Added NA Class name: FaultLogger;
Method or attribute name: function query(faultType: FaultType) : Promise<Array<FaultLogInfo>>;
@ohos.faultLogger.d.ts
Added NA Class name: hichecker;
Method or attribute name: function addCheckRule(rule: bigint) : void;
@ohos.hichecker.d.ts
Added NA Class name: hichecker;
Method or attribute name: function removeCheckRule(rule: bigint) : void;
@ohos.hichecker.d.ts
Added NA Class name: hichecker;
Method or attribute name: function containsCheckRule(rule: bigint) : boolean;
@ohos.hichecker.d.ts
Added NA Class name: hidebug;
Method or attribute name: function getPrivateDirty() : bigint;
@ohos.hidebug.d.ts
Added NA Class name: hidebug;
Method or attribute name: function getCpuUsage() : number;
@ohos.hidebug.d.ts
Added NA Class name: hidebug;
Method or attribute name: function startJsCpuProfiling(filename : string) : void;
@ohos.hidebug.d.ts
Added NA Class name: hidebug;
Method or attribute name: function stopJsCpuProfiling() : void;
@ohos.hidebug.d.ts
Added NA Class name: hidebug;
Method or attribute name: function dumpJsHeapData(filename : string) : void;
@ohos.hidebug.d.ts
Added NA Class name: hidebug;
Method or attribute name: function getServiceDump(serviceid : number, fd : number, args : Array<string>) : void;
@ohos.hidebug.d.ts
Added NA Class name: hiSysEvent;
Method or attribute name: function write(info: SysEventInfo): Promise<void>;
@ohos.hiSysEvent.d.ts
Added NA Class name: hiSysEvent;
Method or attribute name: function write(info: SysEventInfo, callback: AsyncCallback<void>): void;
@ohos.hiSysEvent.d.ts
Added NA Class name: hiSysEvent;
Method or attribute name: function addWatcher(watcher: Watcher): void;
@ohos.hiSysEvent.d.ts
Added NA Class name: hiSysEvent;
Method or attribute name: function removeWatcher(watcher: Watcher): void;
@ohos.hiSysEvent.d.ts
Added NA Class name: hiSysEvent;
Method or attribute name: function query(queryArg: QueryArg, rules: QueryRule[], querier: Querier): void;
@ohos.hiSysEvent.d.ts
Added NA Class name: EventType;
Method or attribute name: FAULT = 1
@ohos.hiSysEvent.d.ts
Added NA Class name: EventType;
Method or attribute name: STATISTIC = 2
@ohos.hiSysEvent.d.ts
Added NA Class name: EventType;
Method or attribute name: SECURITY = 3
@ohos.hiSysEvent.d.ts
Added NA Class name: EventType;
Method or attribute name: BEHAVIOR = 4
@ohos.hiSysEvent.d.ts
Added NA Class name: SysEventInfo;
Method or attribute name: domain: string;
@ohos.hiSysEvent.d.ts
Added NA Class name: WatchRule;
Method or attribute name: domain: string;
@ohos.hiSysEvent.d.ts
Added NA Class name: QueryRule;
Method or attribute name: domain: string;
@ohos.hiSysEvent.d.ts
Added NA Class name: SysEventInfo;
Method or attribute name: name: string;
@ohos.hiSysEvent.d.ts
Added NA Class name: WatchRule;
Method or attribute name: name: string;
@ohos.hiSysEvent.d.ts
Added NA Class name: SysEventInfo;
Method or attribute name: eventType: EventType;
@ohos.hiSysEvent.d.ts
Added NA Class name: SysEventInfo;
Method or attribute name: params: object;
@ohos.hiSysEvent.d.ts
Added NA Class name: RuleType;
Method or attribute name: WHOLE_WORD = 1
@ohos.hiSysEvent.d.ts
Added NA Class name: RuleType;
Method or attribute name: PREFIX = 2
@ohos.hiSysEvent.d.ts
Added NA Class name: RuleType;
Method or attribute name: REGULAR = 3
@ohos.hiSysEvent.d.ts
Added NA Class name: WatchRule;
Method or attribute name: tag: string;
@ohos.hiSysEvent.d.ts
Added NA Class name: WatchRule;
Method or attribute name: ruleType: RuleType;
@ohos.hiSysEvent.d.ts
Added NA Class name: Watcher;
Method or attribute name: rules: WatchRule[];
@ohos.hiSysEvent.d.ts
Added NA Class name: Watcher;
Method or attribute name: onEvent: (info: SysEventInfo) => void;
@ohos.hiSysEvent.d.ts
Added NA Class name: Watcher;
Method or attribute name: onServiceDied: () => void;
@ohos.hiSysEvent.d.ts
Added NA Class name: QueryArg;
Method or attribute name: beginTime: number;
@ohos.hiSysEvent.d.ts
Added NA Class name: QueryArg;
Method or attribute name: endTime: number;
@ohos.hiSysEvent.d.ts
Added NA Class name: QueryArg;
Method or attribute name: maxEvents: number;
@ohos.hiSysEvent.d.ts
Added NA Class name: QueryRule;
Method or attribute name: names: string[];
@ohos.hiSysEvent.d.ts
Added NA Class name: Querier;
Method or attribute name: onQuery: (infos: SysEventInfo[]) => void;
@ohos.hiSysEvent.d.ts
Added NA Class name: Querier;
Method or attribute name: onComplete: (reason: number, total: number) => void;
@ohos.hiSysEvent.d.ts
Added NA Class name: hiAppEvent;
Method or attribute name: function configure(config: ConfigOption): void;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: hiAppEvent;
Method or attribute name: function write(info: AppEventInfo): Promise<void>;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: hiAppEvent;
Method or attribute name: function write(info: AppEventInfo, callback: AsyncCallback<void>): void;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: hiAppEvent;
Method or attribute name: function addWatcher(watcher: Watcher): AppEventPackageHolder;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: hiAppEvent;
Method or attribute name: function removeWatcher(watcher: Watcher): void;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: hiAppEvent;
Method or attribute name: function clearData(): void;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: EventType;
Method or attribute name: FAULT = 1
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: EventType;
Method or attribute name: STATISTIC = 2
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: EventType;
Method or attribute name: SECURITY = 3
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: EventType;
Method or attribute name: BEHAVIOR = 4
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: ConfigOption;
Method or attribute name: disable?: boolean;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: ConfigOption;
Method or attribute name: maxStorage?: string;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: AppEventInfo;
Method or attribute name: domain: string;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: AppEventFilter;
Method or attribute name: domain: string;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: AppEventInfo;
Method or attribute name: name: string;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: Watcher;
Method or attribute name: name: string;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: AppEventInfo;
Method or attribute name: eventType: EventType;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: AppEventInfo;
Method or attribute name: params: object;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: AppEventPackage;
Method or attribute name: packageId: number;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: AppEventPackage;
Method or attribute name: row: number;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: AppEventPackage;
Method or attribute name: size: number;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: AppEventPackage;
Method or attribute name: data: string[];
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: AppEventPackageHolder;
Method or attribute name: constructor(watcherName: string);
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: AppEventPackageHolder;
Method or attribute name: setSize(size: number): void;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: AppEventPackageHolder;
Method or attribute name: takeNext(): AppEventPackage;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: TriggerCondition;
Method or attribute name: row?: number;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: TriggerCondition;
Method or attribute name: size?: number;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: TriggerCondition;
Method or attribute name: timeOut?: number;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: AppEventFilter;
Method or attribute name: eventTypes?: EventType[];
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: Watcher;
Method or attribute name: triggerCondition?: TriggerCondition;
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: Watcher;
Method or attribute name: appEventFilters?: AppEventFilter[];
@ohos.hiviewdfx.hiAppEvent.d.ts
Added NA Class name: Watcher;
Method or attribute name: onTrigger?: (curRow: number, curSize: number, holder: AppEventPackageHolder) => void;
@ohos.hiviewdfx.hiAppEvent.d.ts
Deprecated version changed Class name: bytrace;
Method or attribute name: declare bytrace
Old version:
Class name: bytrace;
Method or attribute name: declare bytrace
New version: 8
Substitute API: ohos.hiTraceMeter
@ohos.bytrace.d.ts
Deprecated version changed Class name: bytrace;
Method or attribute name: function startTrace(name: string, taskId: number, expectedTime?: number): void;
Old version:
Class name: bytrace;
Method or attribute name: function startTrace(name: string, taskId: number, expectedTime?: number): void;
New version: 8
Substitute API: ohos.hiTraceMeter.startTrace
@ohos.bytrace.d.ts
Deprecated version changed Class name: bytrace;
Method or attribute name: function finishTrace(name: string, taskId: number): void;
Old version:
Class name: bytrace;
Method or attribute name: function finishTrace(name: string, taskId: number): void;
New version: 8
Substitute API: ohos.hiTraceMeter.finishTrace
@ohos.bytrace.d.ts
Deprecated version changed Class name: bytrace;
Method or attribute name: function traceByValue(name: string, count: number): void;
Old version:
Class name: bytrace;
Method or attribute name: function traceByValue(name: string, count: number): void;
New version: 8
Substitute API: ohos.hiTraceMeter.traceByValue
@ohos.bytrace.d.ts
Deprecated version changed Class name: FaultLogger;
Method or attribute name: function querySelfFaultLog(faultType: FaultType, callback: AsyncCallback<Array<FaultLogInfo>>) : void;
Old version:
Class name: FaultLogger;
Method or attribute name: function querySelfFaultLog(faultType: FaultType, callback: AsyncCallback<Array<FaultLogInfo>>) : void;
New version: 9
Substitute API: ohos.faultlogger/FaultLogger#query
@ohos.faultLogger.d.ts
Deprecated version changed Class name: FaultLogger;
Method or attribute name: function querySelfFaultLog(faultType: FaultType) : Promise<Array<FaultLogInfo>>;
Old version:
Class name: FaultLogger;
Method or attribute name: function querySelfFaultLog(faultType: FaultType) : Promise<Array<FaultLogInfo>>;
New version: 9
Substitute API: ohos.faultlogger/FaultLogger#query
@ohos.faultLogger.d.ts
Deprecated version changed Class name: hiAppEvent;
Method or attribute name: declare hiAppEvent
Old version:
Class name: hiAppEvent;
Method or attribute name: declare hiAppEvent
New version: 9
Substitute API: ohos.hiviewdfx.hiAppEvent
@ohos.hiAppEvent.d.ts
Deprecated version changed Class name: hiAppEvent;
Method or attribute name: function write(eventName: string, eventType: EventType, keyValues: object): Promise<void>;
Old version:
Class name: hiAppEvent;
Method or attribute name: function write(eventName: string, eventType: EventType, keyValues: object): Promise<void>;
New version: 9
Substitute API: ohos.hiviewdfx.hiAppEvent
@ohos.hiAppEvent.d.ts
Deprecated version changed Class name: hiAppEvent;
Method or attribute name: function write(eventName: string, eventType: EventType, keyValues: object, callback: AsyncCallback<void>): void;
Old version:
Class name: hiAppEvent;
Method or attribute name: function write(eventName: string, eventType: EventType, keyValues: object, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.hiviewdfx.hiAppEvent
@ohos.hiAppEvent.d.ts
Deprecated version changed Class name: hiAppEvent;
Method or attribute name: function configure(config: ConfigOption): boolean;
Old version:
Class name: hiAppEvent;
Method or attribute name: function configure(config: ConfigOption): boolean;
New version: 9
Substitute API: ohos.hiviewdfx.hiAppEvent
@ohos.hiAppEvent.d.ts
Deprecated version changed Class name: EventType;
Method or attribute name: enum EventType
Old version:
Class name: EventType;
Method or attribute name: enum EventType
New version: 9
Substitute API: ohos.hiviewdfx.hiAppEvent
@ohos.hiAppEvent.d.ts
Deprecated version changed Class name: EventType;
Method or attribute name: FAULT = 1
Old version:
Class name: EventType;
Method or attribute name: FAULT = 1
New version: 9
Substitute API: ohos.hiviewdfx.hiAppEvent
@ohos.hiAppEvent.d.ts
Deprecated version changed Class name: EventType;
Method or attribute name: STATISTIC = 2
Old version:
Class name: EventType;
Method or attribute name: STATISTIC = 2
New version: 9
Substitute API: ohos.hiviewdfx.hiAppEvent
@ohos.hiAppEvent.d.ts
Deprecated version changed Class name: EventType;
Method or attribute name: SECURITY = 3
Old version:
Class name: EventType;
Method or attribute name: SECURITY = 3
New version: 9
Substitute API: ohos.hiviewdfx.hiAppEvent
@ohos.hiAppEvent.d.ts
Deprecated version changed Class name: EventType;
Method or attribute name: BEHAVIOR = 4
Old version:
Class name: EventType;
Method or attribute name: BEHAVIOR = 4
New version: 9
Substitute API: ohos.hiviewdfx.hiAppEvent
@ohos.hiAppEvent.d.ts
Deprecated version changed Class name: Event;
Method or attribute name: Event
Old version:
Class name: Event;
Method or attribute name: Event
New version: 9
Substitute API: ohos.hiviewdfx.hiAppEvent
@ohos.hiAppEvent.d.ts
Deprecated version changed Class name: Param;
Method or attribute name: Param
Old version:
Class name: Param;
Method or attribute name: Param
New version: 9
Substitute API: ohos.hiviewdfx.hiAppEvent
@ohos.hiAppEvent.d.ts
Deprecated version changed Class name: ConfigOption;
Method or attribute name: interface ConfigOption
Old version:
Class name: ConfigOption;
Method or attribute name: interface ConfigOption
New version: 9
Substitute API: ohos.hiviewdfx.hiAppEvent
@ohos.hiAppEvent.d.ts
Deprecated version changed Class name: ConfigOption;
Method or attribute name: disable?: boolean;
Old version:
Class name: ConfigOption;
Method or attribute name: disable?: boolean;
New version: 9
Substitute API: ohos.hiviewdfx.hiAppEvent
@ohos.hiAppEvent.d.ts
Deprecated version changed Class name: ConfigOption;
Method or attribute name: maxStorage?: string;
Old version:
Class name: ConfigOption;
Method or attribute name: maxStorage?: string;
New version: 9
Substitute API: ohos.hiviewdfx.hiAppEvent
@ohos.hiAppEvent.d.ts
Deprecated version changed Class name: hichecker;
Method or attribute name: function addRule(rule: bigint) : void;
Old version:
Class name: hichecker;
Method or attribute name: function addRule(rule: bigint) : void;
New version: 9
Substitute API: ohos.hichecker/hichecker#addCheckRule
@ohos.hichecker.d.ts
Deprecated version changed Class name: hichecker;
Method or attribute name: function removeRule(rule: bigint) : void;
Old version:
Class name: hichecker;
Method or attribute name: function removeRule(rule: bigint) : void;
New version: 9
Substitute API: ohos.hichecker/hichecker#removeCheckRule
@ohos.hichecker.d.ts
Deprecated version changed Class name: hichecker;
Method or attribute name: function contains(rule: bigint) : boolean;
Old version:
Class name: hichecker;
Method or attribute name: function contains(rule: bigint) : boolean;
New version: 9
Substitute API: ohos.hichecker/hichecker#containsCheckRule
@ohos.hichecker.d.ts
Deprecated version changed Class name: hidebug;
Method or attribute name: function startProfiling(filename : string) : void;
Old version:
Class name: hidebug;
Method or attribute name: function startProfiling(filename : string) : void;
New version: 9
Substitute API: ohos.hidebug/hidebug.startJsCpuProfiling
@ohos.hidebug.d.ts
Deprecated version changed Class name: hidebug;
Method or attribute name: function stopProfiling() : void;
Old version:
Class name: hidebug;
Method or attribute name: function stopProfiling() : void;
New version: 9
Substitute API: ohos.hidebug/hidebug.stopJsCpuProfiling
@ohos.hidebug.d.ts
Deprecated version changed Class name: hidebug;
Method or attribute name: function dumpHeapData(filename : string) : void;
Old version:
Class name: hidebug;
Method or attribute name: function dumpHeapData(filename : string) : void;
New version: 9
Substitute API: ohos.hidebug/hidebug.dumpJsHeapData
@ohos.hidebug.d.ts
Type changed Class name: FaultLogInfo;
Method or attribute name: pid: number;
Old version:
Class name: FaultLogInfo;
Method or attribute name: pid: number;
New version: number
@ohos.faultLogger.d.ts
Type changed Class name: FaultLogInfo;
Method or attribute name: uid: number;
Old version:
Class name: FaultLogInfo;
Method or attribute name: uid: number;
New version: number
@ohos.faultLogger.d.ts
Type changed Class name: FaultLogInfo;
Method or attribute name: type: FaultType;
Old version:
Class name: FaultLogInfo;
Method or attribute name: type: FaultType;
New version: FaultType
@ohos.faultLogger.d.ts
Type changed Class name: FaultLogInfo;
Method or attribute name: timestamp: number;
Old version:
Class name: FaultLogInfo;
Method or attribute name: timestamp: number;
New version: number
@ohos.faultLogger.d.ts
Type changed Class name: FaultLogInfo;
Method or attribute name: reason: string;
Old version:
Class name: FaultLogInfo;
Method or attribute name: reason: string;
New version: string
@ohos.faultLogger.d.ts
Type changed Class name: FaultLogInfo;
Method or attribute name: module: string;
Old version:
Class name: FaultLogInfo;
Method or attribute name: module: string;
New version: string
@ohos.faultLogger.d.ts
Type changed Class name: FaultLogInfo;
Method or attribute name: summary: string;
Old version:
Class name: FaultLogInfo;
Method or attribute name: summary: string;
New version: string
@ohos.faultLogger.d.ts
Type changed Class name: FaultLogInfo;
Method or attribute name: fullLog: string;
Old version:
Class name: FaultLogInfo;
Method or attribute name: fullLog: string;
New version: string
@ohos.faultLogger.d.ts
Function changed Class name: hiTraceChain;
Method or attribute name: function begin(name: string, flags: number = HiTraceFlag.DEFAULT): HiTraceId;
Class name: hiTraceChain;
Method or attribute name: function begin(name: string, flags?: number): HiTraceId;
@ohos.hiTraceChain.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

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

0  赞