操作 旧版本 新版本 d.ts文件
API跨平台权限变更 类名:xml;
API声明: interface ConvertOptions
差异内容:NA
类名:xml;
API声明: interface ConvertOptions
差异内容:crossplatform
api/@ohos.convertxml.d.ts
API跨平台权限变更 类名:util;
API声明: interface ScopeComparable
差异内容:NA
类名:util;
API声明: interface ScopeComparable
差异内容:crossplatform
api/@ohos.util.d.ts
API跨平台权限变更 类名:WorkerEventTarget;
API声明:addEventListener(type: string, listener: WorkerEventListener): void;
差异内容:NA
类名:WorkerEventTarget;
API声明:addEventListener(type: string, listener: WorkerEventListener): void;
差异内容:crossplatform
api/@ohos.worker.d.ts
syscap变更 类名:xml;
API声明: interface ConvertOptions
差异内容:NA
类名:xml;
API声明: interface ConvertOptions
差异内容:SystemCapability.Utils.Lang
api/@ohos.convertxml.d.ts
syscap变更 类名:util;
API声明: interface ScopeComparable
差异内容:NA
类名:util;
API声明: interface ScopeComparable
差异内容:SystemCapability.Utils.Lang
api/@ohos.util.d.ts
syscap变更 类名:WorkerGlobalScope;
API声明:readonly self: WorkerGlobalScope & typeof globalThis;
差异内容:NA
类名:WorkerGlobalScope;
API声明:readonly self: WorkerGlobalScope & typeof globalThis;
差异内容:SystemCapability.Utils.Lang
api/@ohos.worker.d.ts
syscap变更 类名:DedicatedWorkerGlobalScope;
API声明:postMessage(messageObject: Object, options?: PostMessageOptions): void;
差异内容:NA
类名:DedicatedWorkerGlobalScope;
API声明:postMessage(messageObject: Object, options?: PostMessageOptions): void;
差异内容:SystemCapability.Utils.Lang
api/@ohos.worker.d.ts
syscap变更 类名:Worker;
API声明:postMessage(message: Object, options?: PostMessageOptions): void;
差异内容:NA
类名:Worker;
API声明:postMessage(message: Object, options?: PostMessageOptions): void;
差异内容:SystemCapability.Utils.Lang
api/@ohos.worker.d.ts
API废弃版本变更 类名:WorkerGlobalScope;
API声明:readonly self: WorkerGlobalScope & typeof globalThis;
差异内容:NA
类名:WorkerGlobalScope;
API声明:readonly self: WorkerGlobalScope & typeof globalThis;
差异内容:9
api/@ohos.worker.d.ts
API废弃版本变更 类名:DedicatedWorkerGlobalScope;
API声明:postMessage(messageObject: Object, options?: PostMessageOptions): void;
差异内容:NA
类名:DedicatedWorkerGlobalScope;
API声明:postMessage(messageObject: Object, options?: PostMessageOptions): void;
差异内容:9
api/@ohos.worker.d.ts
API废弃版本变更 类名:Worker;
API声明:postMessage(message: Object, options?: PostMessageOptions): void;
差异内容:NA
类名:Worker;
API声明:postMessage(message: Object, options?: PostMessageOptions): void;
差异内容:9
api/@ohos.worker.d.ts
错误码变更 类名:Task;
API声明:setTransferList(transfer?: ArrayBuffer[]): void;
差异内容:401
类名:Task;
API声明:setTransferList(transfer?: ArrayBuffer[]): void;
差异内容:10200029,401
api/@ohos.taskpool.d.ts
函数变更 类名:taskpool;
API声明:function execute(func: Function, ...args: unknown[]): Promise<unknown>;
差异内容:Promise<unknown>
类名:taskpool;
API声明:function execute(func: Function, ...args: Object[]): Promise<Object>;
差异内容:Promise<Object>
api/@ohos.taskpool.d.ts
函数变更 类名:taskpool;
API声明:function execute(task: Task, priority?: Priority): Promise<unknown>;
差异内容:Promise<unknown>
类名:taskpool;
API声明:function execute(task: Task, priority?: Priority): Promise<Object>;
差异内容:Promise<Object>
api/@ohos.taskpool.d.ts
函数变更 类名:taskpool;
API声明:function execute(group: TaskGroup, priority?: Priority): Promise<unknown[]>;
差异内容:Promise<unknown[]>
类名:taskpool;
API声明:function execute(group: TaskGroup, priority?: Priority): Promise<Object[]>;
差异内容:Promise<Object[]>
api/@ohos.taskpool.d.ts
函数变更 类名:TextEncoder;
API声明:encodeIntoUint8Array(input: string, dest: Uint8Array): {
read: number;
written: number;
};
差异内容:{read:number;written:number;}
类名:TextEncoder;
API声明:encodeIntoUint8Array(input: string, dest: Uint8Array): EncodeIntoUint8ArrayInfo;
差异内容:EncodeIntoUint8ArrayInfo
api/@ohos.util.d.ts
函数变更 类名:TaskGroup;
API声明:addTask(func: Function, ...args: unknown[]): void;
差异内容:...args: unknown[]
类名:TaskGroup;
API声明:addTask(func: Function, ...args: Object[]): void;
差异内容:...args: Object[]
api/@ohos.taskpool.d.ts
函数变更 类名:taskpool;
API声明:function execute(func: Function, ...args: unknown[]): Promise<unknown>;
差异内容:...args: unknown[]
类名:taskpool;
API声明:function execute(func: Function, ...args: Object[]): Promise<Object>;
差异内容:...args: Object[]
api/@ohos.taskpool.d.ts
函数变更 类名:TextDecoder;
API声明:static create(encoding?: string, options?: {
fatal?: boolean;
ignoreBOM?: boolean;
}): TextDecoder;
差异内容:options?: {
fatal?: boolean;
ignoreBOM?: boolean;
}
类名:TextDecoder;
API声明:static create(encoding?: string, options?: TextDecoderOptions): TextDecoder;
差异内容:options?: TextDecoderOptions
api/@ohos.util.d.ts
函数变更 类名:TextDecoder;
API声明:decodeWithStream(input: Uint8Array, options?: {
stream?: boolean;
}): string;
差异内容:options?: {
stream?: boolean;
}
类名:TextDecoder;
API声明:decodeWithStream(input: Uint8Array, options?: DecodeWithStreamOptions): string;
差异内容:options?: DecodeWithStreamOptions
api/@ohos.util.d.ts
属性变更 类名:Task;
API声明:arguments?: unknown[];
差异内容:unknown[]
类名:Task;
API声明:arguments?: Object[];
差异内容:Object[]
api/@ohos.taskpool.d.ts
新增API NA 类名:Task;
API声明:static sendData(...args: Object[]): void;
差异内容:static sendData(...args: Object[]): void;
api/@ohos.taskpool.d.ts
新增API NA 类名:Task;
API声明:setCloneList(cloneList: Object[] | ArrayBuffer[]): void;
差异内容:setCloneList(cloneList: Object[] | ArrayBuffer[]): void;
api/@ohos.taskpool.d.ts
新增API NA 类名:Task;
API声明:onReceiveData(callback?: Function): void;
差异内容:onReceiveData(callback?: Function): void;
api/@ohos.taskpool.d.ts
新增API NA 类名:Task;
API声明:addDependency(...tasks: Task[]): void;
差异内容:addDependency(...tasks: Task[]): void;
api/@ohos.taskpool.d.ts
新增API NA 类名:Task;
API声明:removeDependency(...tasks: Task[]): void;
差异内容:removeDependency(...tasks: Task[]): void;
api/@ohos.taskpool.d.ts
新增API NA 类名:Task;
API声明:name: string;
差异内容:name: string;
api/@ohos.taskpool.d.ts
新增API NA 类名:Task;
API声明:totalDuration: number;
差异内容:totalDuration: number;
api/@ohos.taskpool.d.ts
新增API NA 类名:Task;
API声明:ioDuration: number;
差异内容:ioDuration: number;
api/@ohos.taskpool.d.ts
新增API NA 类名:Task;
API声明:cpuDuration: number;
差异内容:cpuDuration: number;
api/@ohos.taskpool.d.ts
新增API NA 类名:TaskGroup;
API声明:name: string;
差异内容:name: string;
api/@ohos.taskpool.d.ts
新增API NA 类名:taskpool;
API声明: class SequenceRunner
差异内容: class SequenceRunner
api/@ohos.taskpool.d.ts
新增API NA 类名:SequenceRunner;
API声明:execute(task: Task): Promise<Object>;
差异内容:execute(task: Task): Promise<Object>;
api/@ohos.taskpool.d.ts
新增API NA 类名:taskpool;
API声明:function executeDelayed(delayTime: number, task: Task, priority?: Priority): Promise<Object>;
差异内容:function executeDelayed(delayTime: number, task: Task, priority?: Priority): Promise<Object>;
api/@ohos.taskpool.d.ts
新增API NA 类名:util;
API声明: interface TextDecoderOptions
差异内容: interface TextDecoderOptions
api/@ohos.util.d.ts
新增API NA 类名:TextDecoderOptions;
API声明:fatal?: boolean;
差异内容:fatal?: boolean;
api/@ohos.util.d.ts
新增API NA 类名:TextDecoderOptions;
API声明:ignoreBOM?: boolean;
差异内容:ignoreBOM?: boolean;
api/@ohos.util.d.ts
新增API NA 类名:util;
API声明: interface DecodeWithStreamOptions
差异内容: interface DecodeWithStreamOptions
api/@ohos.util.d.ts
新增API NA 类名:DecodeWithStreamOptions;
API声明:stream?: boolean;
差异内容:stream?: boolean;
api/@ohos.util.d.ts
新增API NA 类名:util;
API声明: interface EncodeIntoUint8ArrayInfo
差异内容: interface EncodeIntoUint8ArrayInfo
api/@ohos.util.d.ts
新增API NA 类名:EncodeIntoUint8ArrayInfo;
API声明:read: number;
差异内容:read: number;
api/@ohos.util.d.ts
新增API NA 类名:EncodeIntoUint8ArrayInfo;
API声明:written: number;
差异内容:written: number;
api/@ohos.util.d.ts
新增API NA 类名:util;
API声明: class Aspect
差异内容: class Aspect
api/@ohos.util.d.ts
新增API NA 类名:Aspect;
API声明:static addBefore(targetClass: Object, methodName: string, isStatic: boolean, before: Function): void;
差异内容:static addBefore(targetClass: Object, methodName: string, isStatic: boolean, before: Function): void;
api/@ohos.util.d.ts
新增API NA 类名:Aspect;
API声明:static addAfter(targetClass: Object, methodName: string, isStatic: boolean, after: Function): void;
差异内容:static addAfter(targetClass: Object, methodName: string, isStatic: boolean, after: Function): void;
api/@ohos.util.d.ts
新增API NA 类名:Aspect;
API声明:static replace(targetClass: Object, methodName: string, isStatic: boolean, instead: Function): void;
差异内容:static replace(targetClass: Object, methodName: string, isStatic: boolean, instead: Function): void;
api/@ohos.util.d.ts
新增API NA 类名:ThreadWorkerGlobalScope;
API声明:callGlobalCallObjectMethod(instanceName: string, methodName: string, timeout: number, ...args: Object[]): Object;
差异内容:callGlobalCallObjectMethod(instanceName: string, methodName: string, timeout: number, ...args: Object[]): Object;
api/@ohos.worker.d.ts
新增API NA 类名:ThreadWorker;
API声明:registerGlobalCallObject(instanceName: string, globalCallObject: Object): void;
差异内容:registerGlobalCallObject(instanceName: string, globalCallObject: Object): void;
api/@ohos.worker.d.ts
新增API NA 类名:ThreadWorker;
API声明:unregisterGlobalCallObject(instanceName?: string): void;
差异内容:unregisterGlobalCallObject(instanceName?: string): void;
api/@ohos.worker.d.ts
新增API NA 类名:worker;
API声明: class RestrictedWorker
差异内容: class RestrictedWorker
api/@ohos.worker.d.ts
起始版本有变化 类名:xml;
API声明: interface ConvertOptions
差异内容:NA
类名:xml;
API声明: interface ConvertOptions
差异内容:8
api/@ohos.convertxml.d.ts
起始版本有变化 类名:util;
API声明: interface ScopeComparable
差异内容:NA
类名:util;
API声明: interface ScopeComparable
差异内容:7
api/@ohos.util.d.ts
起始版本有变化 类名:WorkerGlobalScope;
API声明:readonly self: WorkerGlobalScope & typeof globalThis;
差异内容:NA
类名:WorkerGlobalScope;
API声明:readonly self: WorkerGlobalScope & typeof globalThis;
差异内容:7
api/@ohos.worker.d.ts
起始版本有变化 类名:DedicatedWorkerGlobalScope;
API声明:postMessage(messageObject: Object, options?: PostMessageOptions): void;
差异内容:NA
类名:DedicatedWorkerGlobalScope;
API声明:postMessage(messageObject: Object, options?: PostMessageOptions): void;
差异内容:7
api/@ohos.worker.d.ts
起始版本有变化 类名:Worker;
API声明:postMessage(message: Object, options?: PostMessageOptions): void;
差异内容:NA
类名:Worker;
API声明:postMessage(message: Object, options?: PostMessageOptions): void;
差异内容:7
api/@ohos.worker.d.ts
kit变更 NA ArkTS api/@ohos.buffer.d.ts
kit变更 NA ArkTS api/@ohos.convertxml.d.ts
kit变更 NA ArkTS api/@ohos.process.d.ts
kit变更 NA ArkTS api/@ohos.taskpool.d.ts
kit变更 NA ArkTS api/@ohos.uri.d.ts
kit变更 NA ArkTS api/@ohos.url.d.ts
kit变更 NA ArkTS api/@ohos.util.ArrayList.d.ts
kit变更 NA ArkTS api/@ohos.util.d.ts
kit变更 NA ArkTS api/@ohos.util.Deque.d.ts
kit变更 NA ArkTS api/@ohos.util.HashMap.d.ts
kit变更 NA ArkTS api/@ohos.util.HashSet.d.ts
kit变更 NA ArkTS api/@ohos.util.LightWeightMap.d.ts
kit变更 NA ArkTS api/@ohos.util.LightWeightSet.d.ts
kit变更 NA ArkTS api/@ohos.util.LinkedList.d.ts
kit变更 NA ArkTS api/@ohos.util.List.d.ts
kit变更 NA ArkTS api/@ohos.util.PlainArray.d.ts
kit变更 NA ArkTS api/@ohos.util.Queue.d.ts
kit变更 NA ArkTS api/@ohos.util.Stack.d.ts
kit变更 NA ArkTS api/@ohos.util.TreeMap.d.ts
kit变更 NA ArkTS api/@ohos.util.TreeSet.d.ts
kit变更 NA ArkTS api/@ohos.util.Vector.d.ts
kit变更 NA ArkTS api/@ohos.worker.d.ts
kit变更 NA ArkTS api/@ohos.xml.d.ts