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

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

Change Type Old Version New Version d.ts File
Added NA Class name: URLParams;
Method or attribute name: append(name: string, value: string): void;
@ohos.url.d.ts
Added NA Class name: URLParams;
Method or attribute name: delete(name: string): void;
@ohos.url.d.ts
Added NA Class name: URLParams;
Method or attribute name: getAll(name: string): string[];
@ohos.url.d.ts
Added NA Class name: URLParams;
Method or attribute name: entries(): IterableIterator<[string, string]>;
@ohos.url.d.ts
Added NA Class name: URLParams;
Method or attribute name: forEach(callbackFn: (value: string, key: string, searchParams: this) => void, thisArg?: Object): void;
@ohos.url.d.ts
Added NA Class name: URLParams;
Method or attribute name: get(name: string): string |null;
@ohos.url.d.ts
Added NA Class name: URLParams;
Method or attribute name: has(name: string): boolean;
@ohos.url.d.ts
Added NA Class name: URLParams;
Method or attribute name: set(name: string, value: string): void;
@ohos.url.d.ts
Added NA Class name: URLParams;
Method or attribute name: sort(): void;
@ohos.url.d.ts
Added NA Class name: URLParams;
Method or attribute name: keys(): IterableIterator<string>;
@ohos.url.d.ts
Added NA Class name: URLParams;
Method or attribute name: values(): IterableIterator<string>;
@ohos.url.d.ts
Added NA Class name: URLParams;
Method or attribute name: [Symbol.iterator](): IterableIterator<[string, string]>;
@ohos.url.d.ts
Added NA Class name: URLParams;
Method or attribute name: toString(): string;
@ohos.url.d.ts
Added NA Class name: LRUCache;
Method or attribute name: constructor(capacity?: number);
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: updateCapacity(newCapacity: number):void
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: toString(): string
@ohos.util.d.ts
Added NA Class name: ScopeHelper;
Method or attribute name: toString(): string;
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: length: number
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: getCapacity(): number;
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: clear(): void;
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: getCreateCount(): number;
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: getMissCount(): number;
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: getRemovalCount(): number;
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: getMatchCount(): number;
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: getPutCount(): number;
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: isEmpty(): boolean;
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: get(key: K): V |undefined;
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: put(key: K, value: V): V;
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: values(): V[];
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: keys(): K[];
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: remove(key: K): V |undefined;
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: afterRemoval(isEvict: boolean, key: K, value: V, newValue: V): void;
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: contains(key: K): boolean;
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: createDefault(key: K): V;
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: entries(): IterableIterator<[K, V]>;
@ohos.util.d.ts
Added NA Class name: LRUCache;
Method or attribute name: [Symbol.iterator](): IterableIterator<[K, V]>;
@ohos.util.d.ts
Added NA Class name: ScopeHelper;
Method or attribute name: constructor(lowerObj: ScopeType, upperObj: ScopeType);
@ohos.util.d.ts
Added NA Class name: ScopeHelper;
Method or attribute name: getUpper(): ScopeType;
@ohos.util.d.ts
Added NA Class name: ScopeHelper;
Method or attribute name: getLower(): ScopeType;
@ohos.util.d.ts
Added NA Class name: ScopeHelper;
Method or attribute name: contains(value: ScopeType): boolean;
@ohos.util.d.ts
Added NA Class name: ScopeHelper;
Method or attribute name: clamp(value: ScopeType): ScopeType;
@ohos.util.d.ts
Added NA Class name: TextDecoder;
Method or attribute name: constructor();
@ohos.util.d.ts
Added NA Class name: RationalNumber;
Method or attribute name: constructor();
@ohos.util.d.ts
Added NA Class name: Base64Helper;
Method or attribute name: constructor();
@ohos.util.d.ts
Added NA Class name: Base64Helper;
Method or attribute name: encodeSync(src: Uint8Array): Uint8Array;
@ohos.util.d.ts
Added NA Class name: Base64Helper;
Method or attribute name: encodeToStringSync(src: Uint8Array): string;
@ohos.util.d.ts
Added NA Class name: Base64Helper;
Method or attribute name: decodeSync(src: Uint8Array |string): Uint8Array;
@ohos.util.d.ts
Added NA Class name: Base64Helper;
Method or attribute name: encode(src: Uint8Array): Promise<Uint8Array>;
@ohos.util.d.ts
Added NA Class name: Base64Helper;
Method or attribute name: encodeToString(src: Uint8Array): Promise<string>;
@ohos.util.d.ts
Added NA Class name: Base64Helper;
Method or attribute name: decode(src: Uint8Array |string): Promise<Uint8Array>;
@ohos.util.d.ts
Added NA Class name: WorkerEventTarget;
Method or attribute name: dispatchEvent(event: Event): boolean;
@ohos.worker.d.ts
Added NA Class name: ThreadWorker;
Method or attribute name: dispatchEvent(event: Event): boolean;
@ohos.worker.d.ts
Added NA Class name: WorkerEventTarget;
Method or attribute name: removeAllListener(): void;
@ohos.worker.d.ts
Added NA Class name: ThreadWorker;
Method or attribute name: removeAllListener(): void;
@ohos.worker.d.ts
Added NA Class name: GlobalScope;
Method or attribute name: readonly name: string;
@ohos.worker.d.ts
Added NA Class name: GlobalScope;
Method or attribute name: onerror?: (ev: ErrorEvent) => void;
@ohos.worker.d.ts
Added NA Class name: ThreadWorkerGlobalScope;
Method or attribute name: close(): void;
@ohos.worker.d.ts
Added NA Class name: ThreadWorkerGlobalScope;
Method or attribute name: postMessage(messageObject: Object, options?: PostMessageOptions): void;
@ohos.worker.d.ts
Added NA Class name: ThreadWorker;
Method or attribute name: constructor(scriptURL: string, options?: WorkerOptions);
@ohos.worker.d.ts
Added NA Class name: ThreadWorker;
Method or attribute name: onexit?: (code: number) => void;
@ohos.worker.d.ts
Added NA Class name: ThreadWorker;
Method or attribute name: onerror?: (err: ErrorEvent) => void;
@ohos.worker.d.ts
Added NA Class name: ThreadWorker;
Method or attribute name: postMessage(message: Object, transfer: ArrayBuffer[]): void;
@ohos.worker.d.ts
Added NA Class name: ThreadWorker;
Method or attribute name: postMessage(message: Object, options?: PostMessageOptions): void;
@ohos.worker.d.ts
Added NA Class name: ThreadWorker;
Method or attribute name: terminate(): void;
@ohos.worker.d.ts
Added NA Class name: buffer;
Method or attribute name: type BufferEncoding = ‘ascii’ |‘utf8’ |‘utf-8’ |‘utf16le’ |‘ucs2’ |‘ucs-2’ |‘base64’ |‘base64url’ |‘latin1’ |‘binary’ |‘hex’;
@ohos.buffer.d.ts
Added NA Class name: buffer;
Method or attribute name: function alloc(size: number, fill?: string |Buffer |number, encoding?: BufferEncoding): Buffer;
@ohos.buffer.d.ts
Added NA Class name: buffer;
Method or attribute name: function allocUninitializedFromPool(size: number): Buffer;
@ohos.buffer.d.ts
Added NA Class name: buffer;
Method or attribute name: function allocUninitialized(size: number): Buffer;
@ohos.buffer.d.ts
Added NA Class name: buffer;
Method or attribute name: function byteLength(string: string |Buffer |TypedArray |DataView |ArrayBuffer |SharedArrayBuffer, encoding?: BufferEncoding): number;
@ohos.buffer.d.ts
Added NA Class name: buffer;
Method or attribute name: function concat(list: Buffer[] |Uint8Array[], totalLength?: number): Buffer;
@ohos.buffer.d.ts
Added NA Class name: buffer;
Method or attribute name: function from(array: number[]): Buffer;
@ohos.buffer.d.ts
Added NA Class name: buffer;
Method or attribute name: function from(arrayBuffer: ArrayBuffer |SharedArrayBuffer, byteOffset?: number, length?: number): Buffer;
@ohos.buffer.d.ts
Added NA Class name: buffer;
Method or attribute name: function from(buffer: Buffer |Uint8Array): Buffer;
@ohos.buffer.d.ts
Added NA Class name: buffer;
Method or attribute name: function from(object: Object, offsetOrEncoding: number |string, length: number): Buffer;
@ohos.buffer.d.ts
Added NA Class name: buffer;
Method or attribute name: function from(string: String, encoding?: BufferEncoding): Buffer;
@ohos.buffer.d.ts
Added NA Class name: buffer;
Method or attribute name: function isBuffer(obj: Object): boolean;
@ohos.buffer.d.ts
Added NA Class name: buffer;
Method or attribute name: function isEncoding(encoding: string):boolean;
@ohos.buffer.d.ts
Added NA Class name: buffer;
Method or attribute name: function compare(buf1: Buffer |Uint8Array, buf2: Buffer |Uint8Array): -1 |0 |1;
@ohos.buffer.d.ts
Added NA Class name: buffer;
Method or attribute name: function transcode(source: Buffer |Uint8Array, fromEnc: string, toEnc: string): Buffer;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: length: number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: buffer: ArrayBuffer;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: byteOffset: number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: fill(value: string |Buffer |Uint8Array |number, offset?: number, end?: number, encoding?: BufferEncoding): Buffer;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: compare(target: Buffer |Uint8Array, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number): -1 |0 |1;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: copy(target: Buffer |Uint8Array, targetStart?: number, sourceStart?: number, sourceEnd?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: equals(otherBuffer: Uint8Array |Buffer): boolean;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: includes(value: string |number |Buffer |Uint8Array, byteOffset?: number, encoding?: BufferEncoding): boolean;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: indexOf(value: string |number |Buffer |Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: keys(): IterableIterator<number>;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: values(): IterableIterator<number>;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: entries(): IterableIterator<[number, number]>;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: lastIndexOf(value: string |number |Buffer |Uint8Array, byteOffset?: number, encoding?: BufferEncoding): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readBigInt64BE(offset?: number): bigint;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readBigInt64LE(offset?: number): bigint;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readBigUInt64BE(offset?: number): bigint;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readBigUInt64LE(offset?: number): bigint;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readDoubleBE(offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readDoubleLE(offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readFloatBE(offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readFloatLE(offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readInt8(offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readInt16BE(offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readInt16LE(offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readInt32BE(offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readInt32LE(offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readIntBE(offset: number, byteLength: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readIntLE(offset: number, byteLength: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readUInt8(offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readUInt16BE(offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readUInt16LE(offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readUInt32BE(offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readUInt32LE(offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readUIntBE(offset: number, byteLength: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: readUIntLE(offset: number, byteLength: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: subarray(start?: number, end?: number): Buffer;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: swap16(): Buffer;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: swap32(): Buffer;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: swap64(): Buffer;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: toJSON(): Object;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: toString(encoding?: string, start?: number, end?: number): string;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: write(str: string, offset?: number, length?: number, encoding?: string): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeBigInt64BE(value: bigint, offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeBigInt64LE(value: bigint, offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeBigUInt64BE(value: bigint, offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeBigUInt64LE(value: bigint, offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeDoubleBE(value: number, offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeDoubleLE(value: number, offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeFloatBE(value: number, offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeFloatLE(value: number, offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeInt8(value: number, offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeInt16BE(value: number, offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeInt16LE(value: number, offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeInt32BE(value: number, offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeInt32LE(value: number, offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeIntBE(value: number, offset: number, byteLength: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeIntLE(value : number, offset: number, byteLength: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeUInt8(value: number, offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeUInt16BE(value: number, offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeUInt16LE(value: number, offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeUInt32BE(value: number, offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeUInt32LE(value: number, offset?: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeUIntBE(value: number, offset: number, byteLength: number): number;
@ohos.buffer.d.ts
Added NA Class name: Buffer;
Method or attribute name: writeUIntLE(value: number, offset: number, byteLength: number): number;
@ohos.buffer.d.ts
Added NA Class name: Blob;
Method or attribute name: constructor(sources: string[] |ArrayBuffer[] |TypedArray[] |DataView[] |Blob[] , options?: Object);
@ohos.buffer.d.ts
Added NA Class name: Blob;
Method or attribute name: size: number;
@ohos.buffer.d.ts
Added NA Class name: Blob;
Method or attribute name: type: string;
@ohos.buffer.d.ts
Added NA Class name: Blob;
Method or attribute name: arrayBuffer(): Promise<ArrayBuffer>;
@ohos.buffer.d.ts
Added NA Class name: Blob;
Method or attribute name: slice(start?: number, end?: number, type?: string): Blob;
@ohos.buffer.d.ts
Added NA Class name: Blob;
Method or attribute name: text(): Promise<string>;
@ohos.buffer.d.ts
Added NA Class name: ConvertXML;
Method or attribute name: convertToJSObject(xml: string, options?: ConvertOptions) : Object;
@ohos.convertxml.d.ts
Added NA Class name: ProcessManager;
Method or attribute name: isAppUid(v: number): boolean;
@ohos.process.d.ts
Added NA Class name: ProcessManager;
Method or attribute name: getUidForName(v: string): number;
@ohos.process.d.ts
Added NA Class name: ProcessManager;
Method or attribute name: getThreadPriority(v: number): number;
@ohos.process.d.ts
Added NA Class name: ProcessManager;
Method or attribute name: getSystemConfig(name: number): number;
@ohos.process.d.ts
Added NA Class name: ProcessManager;
Method or attribute name: getEnvironmentVar(name: string): string;
@ohos.process.d.ts
Added NA Class name: ProcessManager;
Method or attribute name: exit(code: number): void;
@ohos.process.d.ts
Added NA Class name: ProcessManager;
Method or attribute name: kill(signal: number, pid: number): boolean;
@ohos.process.d.ts
Added NA Class name: taskpool;
Method or attribute name: function execute(func: Function, …args: unknown[]): Promise<unknown>;
@ohos.taskpool.d.ts
Added NA Class name: taskpool;
Method or attribute name: function execute(task: Task, priority?: Priority): Promise<unknown>;
@ohos.taskpool.d.ts
Added NA Class name: taskpool;
Method or attribute name: function cancel(task: Task): void;
@ohos.taskpool.d.ts
Added NA Class name: Priority;
Method or attribute name: HIGH
@ohos.taskpool.d.ts
Added NA Class name: Priority;
Method or attribute name: MEDIUM
@ohos.taskpool.d.ts
Added NA Class name: Priority;
Method or attribute name: LOW
@ohos.taskpool.d.ts
Added NA Class name: Task;
Method or attribute name: constructor(func: Function, …args: unknown[]);
@ohos.taskpool.d.ts
Added NA Class name: Task;
Method or attribute name: function: Function;
@ohos.taskpool.d.ts
Added NA Class name: Task;
Method or attribute name: arguments?: unknown[];
@ohos.taskpool.d.ts
Added NA Class name: URI;
Method or attribute name: equalsTo(other: URI): boolean;
@ohos.uri.d.ts
Added NA Class name: URLParams;
Method or attribute name: constructor(init?: string[][] |Record<string, string> |string |URLParams);
@ohos.url.d.ts
Added NA Class name: URL;
Method or attribute name: constructor();
@ohos.url.d.ts
Added NA Class name: URL;
Method or attribute name: static parseURL(url: string, base?: string |URL): URL;
@ohos.url.d.ts
Added NA Class name: URL;
Method or attribute name: readonly params: URLParams;
@ohos.url.d.ts
Added NA Class name: util;
Method or attribute name: function format(format: string, …args: Object[]): string;
@ohos.util.d.ts
Added NA Class name: util;
Method or attribute name: function errnoToString(errno: number): string;
@ohos.util.d.ts
Added NA Class name: util;
Method or attribute name: function promisify(original: (err: Object, value: Object) => void): Function;
@ohos.util.d.ts
Added NA Class name: util;
Method or attribute name: function generateRandomUUID(entropyCache?: boolean): string;
@ohos.util.d.ts
Added NA Class name: util;
Method or attribute name: function generateRandomBinaryUUID(entropyCache?: boolean): Uint8Array;
@ohos.util.d.ts
Added NA Class name: util;
Method or attribute name: function parseUUID(uuid: string): Uint8Array;
@ohos.util.d.ts
Added NA Class name: TextDecoder;
Method or attribute name: static create(

encoding?: string,

options?: { fatal?: boolean; ignoreBOM?: boolean }

): TextDecoder;
@ohos.util.d.ts
Added NA Class name: TextDecoder;
Method or attribute name: decodeWithStream(input: Uint8Array, options?: { stream?: boolean }): string;
@ohos.util.d.ts
Added NA Class name: TextEncoder;
Method or attribute name: constructor(encoding?: string);
@ohos.util.d.ts
Added NA Class name: TextEncoder;
Method or attribute name: encodeInto(input?: string): Uint8Array;
@ohos.util.d.ts
Added NA Class name: TextEncoder;
Method or attribute name: encodeIntoUint8Array(

input: string,

dest: Uint8Array,

): { read: number; written: number };
@ohos.util.d.ts
Added NA Class name: RationalNumber;
Method or attribute name: static parseRationalNumber(numerator: number, denominator: number): RationalNumber;
@ohos.util.d.ts
Added NA Class name: RationalNumber;
Method or attribute name: compare(another :RationalNumber): number;
@ohos.util.d.ts
Added NA Class name: RationalNumber;
Method or attribute name: static getCommonFactor(number1: number, number2: number): number;
@ohos.util.d.ts
Added NA Class name: ScopeHelper;
Method or attribute name: intersect(range: ScopeHelper): ScopeHelper;
@ohos.util.d.ts
Added NA Class name: ScopeHelper;
Method or attribute name: intersect(lowerObj: ScopeType, upperObj: ScopeType): ScopeHelper;
@ohos.util.d.ts
Added NA Class name: ScopeHelper;
Method or attribute name: expand(lowerObj: ScopeType, upperObj: ScopeType): ScopeHelper;
@ohos.util.d.ts
Added NA Class name: ScopeHelper;
Method or attribute name: expand(range: ScopeHelper): ScopeHelper;
@ohos.util.d.ts
Added NA Class name: ScopeHelper;
Method or attribute name: expand(value: ScopeType): ScopeHelper;
@ohos.util.d.ts
Added NA Class name: ScopeHelper;
Method or attribute name: contains(range: ScopeHelper): boolean;
@ohos.util.d.ts
Added NA Class name: MessageEvents;
Method or attribute name: readonly data;
@ohos.worker.d.ts
Added NA Class name: WorkerEventListener;
Method or attribute name: (event: Event): void |Promise<void>;
@ohos.worker.d.ts
Added NA Class name: WorkerEventTarget;
Method or attribute name: addEventListener(type: string, listener: WorkerEventListener): void;
@ohos.worker.d.ts
Added NA Class name: ThreadWorker;
Method or attribute name: addEventListener(type: string, listener: WorkerEventListener): void;
@ohos.worker.d.ts
Added NA Class name: WorkerEventTarget;
Method or attribute name: removeEventListener(type: string, callback?: WorkerEventListener): void;
@ohos.worker.d.ts
Added NA Class name: ThreadWorker;
Method or attribute name: removeEventListener(type: string, callback?: WorkerEventListener): void;
@ohos.worker.d.ts
Added NA Class name: GlobalScope;
Method or attribute name: readonly self: GlobalScope & typeof globalThis;
@ohos.worker.d.ts
Added NA Class name: DedicatedWorkerGlobalScope;
Method or attribute name: postMessage(messageObject: Object, transfer: ArrayBuffer[]): void;
@ohos.worker.d.ts
Added NA Class name: ThreadWorkerGlobalScope;
Method or attribute name: postMessage(messageObject: Object, transfer: ArrayBuffer[]): void;
@ohos.worker.d.ts
Added NA Class name: ThreadWorkerGlobalScope;
Method or attribute name: onmessage?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;
@ohos.worker.d.ts
Added NA Class name: ThreadWorkerGlobalScope;
Method or attribute name: onmessageerror?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void;
@ohos.worker.d.ts
Added NA Class name: ThreadWorker;
Method or attribute name: onmessage?: (event: MessageEvents) => void;
@ohos.worker.d.ts
Added NA Class name: ThreadWorker;
Method or attribute name: onmessageerror?: (event: MessageEvents) => void;
@ohos.worker.d.ts
Added NA Class name: ThreadWorker;
Method or attribute name: on(type: string, listener: WorkerEventListener): void;
@ohos.worker.d.ts
Added NA Class name: ThreadWorker;
Method or attribute name: once(type: string, listener: WorkerEventListener): void;
@ohos.worker.d.ts
Added NA Class name: ThreadWorker;
Method or attribute name: off(type: string, listener?: WorkerEventListener): void;
@ohos.worker.d.ts
Deprecated version changed Class name: ConvertXML;
Method or attribute name: convert(xml: string, options?: ConvertOptions) : Object;
Old version:
Class name: ConvertXML;
Method or attribute name: convert(xml: string, options?: ConvertOptions) : Object;
New version: 9
Substitute API: ohos.convertxml.ConvertXML.convertToJSObject
@ohos.convertxml.d.ts
Deprecated version changed Class name: process;
Method or attribute name: function isAppUid(v: number): boolean;
Old version:
Class name: process;
Method or attribute name: function isAppUid(v: number): boolean;
New version: 9
Substitute API: ohos.process.ProcessManager.isAppUid
@ohos.process.d.ts
Deprecated version changed Class name: process;
Method or attribute name: function getUidForName(v: string): number;
Old version:
Class name: process;
Method or attribute name: function getUidForName(v: string): number;
New version: 9
Substitute API: ohos.process.ProcessManager.getUidForName
@ohos.process.d.ts
Deprecated version changed Class name: process;
Method or attribute name: function getThreadPriority(v: number): number;
Old version:
Class name: process;
Method or attribute name: function getThreadPriority(v: number): number;
New version: 9
Substitute API: ohos.process.ProcessManager.getThreadPriority
@ohos.process.d.ts
Deprecated version changed Class name: process;
Method or attribute name: function getSystemConfig(name: number): number;
Old version:
Class name: process;
Method or attribute name: function getSystemConfig(name: number): number;
New version: 9
Substitute API: ohos.process.ProcessManager.getSystemConfig
@ohos.process.d.ts
Deprecated version changed Class name: process;
Method or attribute name: function getEnvironmentVar(name: string): string;
Old version:
Class name: process;
Method or attribute name: function getEnvironmentVar(name: string): string;
New version: 9
Substitute API: ohos.process.ProcessManager.getEnvironmentVar
@ohos.process.d.ts
Deprecated version changed Class name: process;
Method or attribute name: function exit(code: number): void;
Old version:
Class name: process;
Method or attribute name: function exit(code: number): void;
New version: 9
Substitute API: ohos.process.ProcessManager.exit
@ohos.process.d.ts
Deprecated version changed Class name: process;
Method or attribute name: function kill(signal: number, pid: number): boolean;
Old version:
Class name: process;
Method or attribute name: function kill(signal: number, pid: number): boolean;
New version: 9
Substitute API: ohos.process.ProcessManager.kill
@ohos.process.d.ts
Deprecated version changed Class name: URI;
Method or attribute name: equals(other: URI): boolean;
Old version:
Class name: URI;
Method or attribute name: equals(other: URI): boolean;
New version: 9
Substitute API: ohos.uri.URI.equalsTo
@ohos.uri.d.ts
Deprecated version changed Class name: URLSearchParams;
Method or attribute name: class URLSearchParams
Old version:
Class name: URLSearchParams;
Method or attribute name: class URLSearchParams
New version: 9
Substitute API: ohos.url.URLParams
@ohos.url.d.ts
Deprecated version changed Class name: URLSearchParams;
Method or attribute name: constructor(init?: string[][] |Record<string, string> |string |URLSearchParams);
Old version:
Class name: URLSearchParams;
Method or attribute name: constructor(init?: string[][] |Record<string, string> |string |URLSearchParams);
New version: 9
Substitute API: ohos.url.URLParams.constructor
@ohos.url.d.ts
Deprecated version changed Class name: URLSearchParams;
Method or attribute name: append(name: string, value: string): void;
Old version:
Class name: URLSearchParams;
Method or attribute name: append(name: string, value: string): void;
New version: 9
Substitute API: ohos.url.URLParams.append
@ohos.url.d.ts
Deprecated version changed Class name: URLSearchParams;
Method or attribute name: delete(name: string): void;
Old version:
Class name: URLSearchParams;
Method or attribute name: delete(name: string): void;
New version: 9
Substitute API: ohos.url.URLParams.delete
@ohos.url.d.ts
Deprecated version changed Class name: URLSearchParams;
Method or attribute name: getAll(name: string): string[];
Old version:
Class name: URLSearchParams;
Method or attribute name: getAll(name: string): string[];
New version: 9
Substitute API: ohos.url.URLParams.getAll
@ohos.url.d.ts
Deprecated version changed Class name: URLSearchParams;
Method or attribute name: entries(): IterableIterator<[string, string]>;
Old version:
Class name: URLSearchParams;
Method or attribute name: entries(): IterableIterator<[string, string]>;
New version: 9
Substitute API: ohos.url.URLParams.entries
@ohos.url.d.ts
Deprecated version changed Class name: URLSearchParams;
Method or attribute name: forEach(callbackFn: (value: string, key: string, searchParams: this) => void, thisArg?: Object): void;
Old version:
Class name: URLSearchParams;
Method or attribute name: forEach(callbackFn: (value: string, key: string, searchParams: this) => void, thisArg?: Object): void;
New version: 9
Substitute API: ohos.url.URLParams.forEach
@ohos.url.d.ts
Deprecated version changed Class name: URLSearchParams;
Method or attribute name: get(name: string): string |null;
Old version:
Class name: URLSearchParams;
Method or attribute name: get(name: string): string |null;
New version: 9
Substitute API: ohos.url.URLParams.get
@ohos.url.d.ts
Deprecated version changed Class name: URLSearchParams;
Method or attribute name: has(name: string): boolean;
Old version:
Class name: URLSearchParams;
Method or attribute name: has(name: string): boolean;
New version: 9
Substitute API: ohos.url.URLParams.has
@ohos.url.d.ts
Deprecated version changed Class name: URLSearchParams;
Method or attribute name: set(name: string, value: string): void;
Old version:
Class name: URLSearchParams;
Method or attribute name: set(name: string, value: string): void;
New version: 9
Substitute API: ohos.url.URLParams.set
@ohos.url.d.ts
Deprecated version changed Class name: URLSearchParams;
Method or attribute name: sort(): void;
Old version:
Class name: URLSearchParams;
Method or attribute name: sort(): void;
New version: 9
Substitute API: ohos.url.URLParams.sort
@ohos.url.d.ts
Deprecated version changed Class name: URLSearchParams;
Method or attribute name: keys(): IterableIterator<string>;
Old version:
Class name: URLSearchParams;
Method or attribute name: keys(): IterableIterator<string>;
New version: 9
Substitute API: ohos.url.URLParams.keys
@ohos.url.d.ts
Deprecated version changed Class name: URLSearchParams;
Method or attribute name: values(): IterableIterator<string>;
Old version:
Class name: URLSearchParams;
Method or attribute name: values(): IterableIterator<string>;
New version: 9
Substitute API: ohos.url.URLParams.values
@ohos.url.d.ts
Deprecated version changed Class name: URLSearchParams;
Method or attribute name: [Symbol.iterator](): IterableIterator<[string, string]>;
Old version:
Class name: URLSearchParams;
Method or attribute name: [Symbol.iterator](): IterableIterator<[string, string]>;
New version: 9
Substitute API: ohos.url.URLParams.[Symbol.iterator]
@ohos.url.d.ts
Deprecated version changed Class name: URLSearchParams;
Method or attribute name: toString(): string;
Old version:
Class name: URLSearchParams;
Method or attribute name: toString(): string;
New version: 9
Substitute API: ohos.url.URLParams.toString
@ohos.url.d.ts
Deprecated version changed Class name: URL;
Method or attribute name: constructor(url: string, base?: string |URL);
Old version:
Class name: URL;
Method or attribute name: constructor(url: string, base?: string |URL);
New version: 9
Substitute API: ohos.url.URL.parseURL
@ohos.url.d.ts
Deprecated version changed Class name: URL;
Method or attribute name: readonly searchParams: URLSearchParams;
Old version:
Class name: URL;
Method or attribute name: readonly searchParams: URLSearchParams;
New version: 9
Substitute API: ohos.url.URL.params
@ohos.url.d.ts
Deprecated version changed Class name: util;
Method or attribute name: function printf(format: string, …args: Object[]): string;
Old version:
Class name: util;
Method or attribute name: function printf(format: string, …args: Object[]): string;
New version: 9
Substitute API: ohos.util.format
@ohos.util.d.ts
Deprecated version changed Class name: util;
Method or attribute name: function getErrorString(errno: number): string;
Old version:
Class name: util;
Method or attribute name: function getErrorString(errno: number): string;
New version: 9
Substitute API: ohos.util.errnoToString
@ohos.util.d.ts
Deprecated version changed Class name: util;
Method or attribute name: function promiseWrapper(original: (err: Object, value: Object) => void): Object;
Old version:
Class name: util;
Method or attribute name: function promiseWrapper(original: (err: Object, value: Object) => void): Object;
New version: 9
Substitute API: ohos.util.promisify
@ohos.util.d.ts
Deprecated version changed Class name: TextDecoder;
Method or attribute name: constructor(

encoding?: string,

options?: { fatal?: boolean; ignoreBOM?: boolean },

);
Old version:
Class name: TextDecoder;
Method or attribute name: constructor(

encoding?: string,

options?: { fatal?: boolean; ignoreBOM?: boolean },

);
New version: 9
Substitute API: ohos.util.TextDecoder.create
@ohos.util.d.ts
Deprecated version changed Class name: TextDecoder;
Method or attribute name: decode(input: Uint8Array, options?: { stream?: false }): string;
Old version:
Class name: TextDecoder;
Method or attribute name: decode(input: Uint8Array, options?: { stream?: false }): string;
New version: 9
Substitute API: ohos.util.decodeWithStream
@ohos.util.d.ts
Deprecated version changed Class name: TextEncoder;
Method or attribute name: encode(input?: string): Uint8Array;
Old version:
Class name: TextEncoder;
Method or attribute name: encode(input?: string): Uint8Array;
New version: 9
Substitute API: ohos.util.encodeInto
@ohos.util.d.ts
Deprecated version changed Class name: TextEncoder;
Method or attribute name: encodeInto(

input: string,

dest: Uint8Array,

): { read: number; written: number };
Old version:
Class name: TextEncoder;
Method or attribute name: encodeInto(

input: string,

dest: Uint8Array,

): { read: number; written: number };
New version: 9
Substitute API: ohos.util.encodeIntoUint8Array
@ohos.util.d.ts
Deprecated version changed Class name: RationalNumber;
Method or attribute name: constructor(numerator: number, denominator: number);
Old version:
Class name: RationalNumber;
Method or attribute name: constructor(numerator: number, denominator: number);
New version: 9
Substitute API: ohos.util.RationalNumber.parseRationalNumber
@ohos.util.d.ts
Deprecated version changed Class name: RationalNumber;
Method or attribute name: compareTo(another :RationalNumber): number;
Old version:
Class name: RationalNumber;
Method or attribute name: compareTo(another :RationalNumber): number;
New version: 9
Substitute API: ohos.util.compare
@ohos.util.d.ts
Deprecated version changed Class name: RationalNumber;
Method or attribute name: static getCommonDivisor(number1: number, number2: number): number;
Old version:
Class name: RationalNumber;
Method or attribute name: static getCommonDivisor(number1: number, number2: number): number;
New version: 9
Substitute API: ohos.util.getCommonFactor
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: class LruBuffer
Old version:
Class name: LruBuffer;
Method or attribute name: class LruBuffer
New version: 9
Substitute API: ohos.util.LRUCache
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: constructor(capacity?: number);
Old version:
Class name: LruBuffer;
Method or attribute name: constructor(capacity?: number);
New version: 9
Substitute API: ohos.util.LRUCache.constructor
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: updateCapacity(newCapacity: number):void
Old version:
Class name: LruBuffer;
Method or attribute name: updateCapacity(newCapacity: number):void
New version: 9
Substitute API: ohos.util.LRUCache.updateCapacity
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: toString(): string
Old version:
Class name: LruBuffer;
Method or attribute name: toString(): string
New version: 9
Substitute API: ohos.util.LRUCache.toString
@ohos.util.d.ts
Deprecated version changed Class name: Scope;
Method or attribute name: toString(): string;
Old version:
Class name: Scope;
Method or attribute name: toString(): string;
New version: 9
Substitute API: ohos.util.ScopeHelper.toString
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: length: number
Old version:
Class name: LruBuffer;
Method or attribute name: length: number
New version: 9
Substitute API: ohos.util.LRUCache.length
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: getCapacity(): number;
Old version:
Class name: LruBuffer;
Method or attribute name: getCapacity(): number;
New version: 9
Substitute API: ohos.util.LRUCache.getCapacity
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: clear(): void;
Old version:
Class name: LruBuffer;
Method or attribute name: clear(): void;
New version: 9
Substitute API: ohos.util.LRUCache.clear
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: getCreateCount(): number;
Old version:
Class name: LruBuffer;
Method or attribute name: getCreateCount(): number;
New version: 9
Substitute API: ohos.util.LRUCache.getCreateCount
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: getMissCount(): number;
Old version:
Class name: LruBuffer;
Method or attribute name: getMissCount(): number;
New version: 9
Substitute API: ohos.util.LRUCache.getMissCount
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: getRemovalCount(): number;
Old version:
Class name: LruBuffer;
Method or attribute name: getRemovalCount(): number;
New version: 9
Substitute API: ohos.util.LRUCache.getRemovalCount
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: getMatchCount(): number;
Old version:
Class name: LruBuffer;
Method or attribute name: getMatchCount(): number;
New version: 9
Substitute API: ohos.util.LRUCache.getMatchCount
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: getPutCount(): number;
Old version:
Class name: LruBuffer;
Method or attribute name: getPutCount(): number;
New version: 9
Substitute API: ohos.util.LRUCache.getPutCount
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: isEmpty(): boolean;
Old version:
Class name: LruBuffer;
Method or attribute name: isEmpty(): boolean;
New version: 9
Substitute API: ohos.util.LRUCache.isEmpty
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: get(key: K): V |undefined;
Old version:
Class name: LruBuffer;
Method or attribute name: get(key: K): V |undefined;
New version: 9
Substitute API: ohos.util.LRUCache.get
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: put(key: K, value: V): V;
Old version:
Class name: LruBuffer;
Method or attribute name: put(key: K, value: V): V;
New version: 9
Substitute API: ohos.util.LRUCache.put
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: values(): V[];
Old version:
Class name: LruBuffer;
Method or attribute name: values(): V[];
New version: 9
Substitute API: ohos.util.LRUCache.values
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: keys(): K[];
Old version:
Class name: LruBuffer;
Method or attribute name: keys(): K[];
New version: 9
Substitute API: ohos.util.LRUCache.keys
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: remove(key: K): V |undefined;
Old version:
Class name: LruBuffer;
Method or attribute name: remove(key: K): V |undefined;
New version: 9
Substitute API: ohos.util.LRUCache.remove
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: afterRemoval(isEvict: boolean, key: K, value: V, newValue: V): void;
Old version:
Class name: LruBuffer;
Method or attribute name: afterRemoval(isEvict: boolean, key: K, value: V, newValue: V): void;
New version: 9
Substitute API: ohos.util.LRUCache.afterRemoval
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: contains(key: K): boolean;
Old version:
Class name: LruBuffer;
Method or attribute name: contains(key: K): boolean;
New version: 9
Substitute API: ohos.util.LRUCache.contains
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: createDefault(key: K): V;
Old version:
Class name: LruBuffer;
Method or attribute name: createDefault(key: K): V;
New version: 9
Substitute API: ohos.util.LRUCache.createDefault
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: entries(): IterableIterator<[K, V]>;
Old version:
Class name: LruBuffer;
Method or attribute name: entries(): IterableIterator<[K, V]>;
New version: 9
Substitute API: ohos.util.LRUCache.entries
@ohos.util.d.ts
Deprecated version changed Class name: LruBuffer;
Method or attribute name: [Symbol.iterator](): IterableIterator<[K, V]>;
Old version:
Class name: LruBuffer;
Method or attribute name: [Symbol.iterator](): IterableIterator<[K, V]>;
New version: 9
Substitute API: ohos.util.LRUCache.[Symbol.iterator]
@ohos.util.d.ts
Deprecated version changed Class name: Scope;
Method or attribute name: class Scope
Old version:
Class name: Scope;
Method or attribute name: class Scope
New version: 9
Substitute API: ohos.util.ScopeHelper
@ohos.util.d.ts
Deprecated version changed Class name: Scope;
Method or attribute name: constructor(lowerObj: ScopeType, upperObj: ScopeType);
Old version:
Class name: Scope;
Method or attribute name: constructor(lowerObj: ScopeType, upperObj: ScopeType);
New version: 9
Substitute API: ohos.util.ScopeHelper.constructor
@ohos.util.d.ts
Deprecated version changed Class name: Scope;
Method or attribute name: intersect(range: Scope): Scope;
Old version:
Class name: Scope;
Method or attribute name: intersect(range: Scope): Scope;
New version: 9
Substitute API: ohos.util.ScopeHelper.intersect
@ohos.util.d.ts
Deprecated version changed Class name: Scope;
Method or attribute name: intersect(lowerObj: ScopeType, upperObj: ScopeType): Scope;
Old version:
Class name: Scope;
Method or attribute name: intersect(lowerObj: ScopeType, upperObj: ScopeType): Scope;
New version: 9
Substitute API: ohos.util.ScopeHelper.intersect
@ohos.util.d.ts
Deprecated version changed Class name: Scope;
Method or attribute name: getUpper(): ScopeType;
Old version:
Class name: Scope;
Method or attribute name: getUpper(): ScopeType;
New version: 9
Substitute API: ohos.util.ScopeHelper.getUpper
@ohos.util.d.ts
Deprecated version changed Class name: Scope;
Method or attribute name: getLower(): ScopeType;
Old version:
Class name: Scope;
Method or attribute name: getLower(): ScopeType;
New version: 9
Substitute API: ohos.util.ScopeHelper.getLower
@ohos.util.d.ts
Deprecated version changed Class name: Scope;
Method or attribute name: expand(lowerObj: ScopeType, upperObj: ScopeType): Scope;
Old version:
Class name: Scope;
Method or attribute name: expand(lowerObj: ScopeType, upperObj: ScopeType): Scope;
New version: 9
Substitute API: ohos.util.ScopeHelper.expand
@ohos.util.d.ts
Deprecated version changed Class name: Scope;
Method or attribute name: expand(range: Scope): Scope;
Old version:
Class name: Scope;
Method or attribute name: expand(range: Scope): Scope;
New version: 9
Substitute API: ohos.util.ScopeHelper.expand
@ohos.util.d.ts
Deprecated version changed Class name: Scope;
Method or attribute name: expand(value: ScopeType): Scope;
Old version:
Class name: Scope;
Method or attribute name: expand(value: ScopeType): Scope;
New version: 9
Substitute API: ohos.util.ScopeHelper.expand
@ohos.util.d.ts
Deprecated version changed Class name: Scope;
Method or attribute name: contains(value: ScopeType): boolean;
Old version:
Class name: Scope;
Method or attribute name: contains(value: ScopeType): boolean;
New version: 9
Substitute API: ohos.util.ScopeHelper.contains
@ohos.util.d.ts
Deprecated version changed Class name: Scope;
Method or attribute name: contains(range: Scope): boolean;
Old version:
Class name: Scope;
Method or attribute name: contains(range: Scope): boolean;
New version: 9
Substitute API: ohos.util.ScopeHelper.contains
@ohos.util.d.ts
Deprecated version changed Class name: Scope;
Method or attribute name: clamp(value: ScopeType): ScopeType;
Old version:
Class name: Scope;
Method or attribute name: clamp(value: ScopeType): ScopeType;
New version: 9
Substitute API: ohos.util.ScopeHelper.clamp
@ohos.util.d.ts
Deprecated version changed Class name: Base64;
Method or attribute name: class Base64
Old version:
Class name: Base64;
Method or attribute name: class Base64
New version: 9
Substitute API: ohos.util.Base64Helper
@ohos.util.d.ts
Deprecated version changed Class name: Base64;
Method or attribute name: constructor();
Old version:
Class name: Base64;
Method or attribute name: constructor();
New version: 9
Substitute API: ohos.util.Base64Helper.constructor
@ohos.util.d.ts
Deprecated version changed Class name: Base64;
Method or attribute name: encodeSync(src: Uint8Array): Uint8Array;
Old version:
Class name: Base64;
Method or attribute name: encodeSync(src: Uint8Array): Uint8Array;
New version: 9
Substitute API: ohos.util.Base64Helper.encodeSync
@ohos.util.d.ts
Deprecated version changed Class name: Base64;
Method or attribute name: encodeToStringSync(src: Uint8Array): string;
Old version:
Class name: Base64;
Method or attribute name: encodeToStringSync(src: Uint8Array): string;
New version: 9
Substitute API: ohos.util.Base64Helper.encodeToStringSync
@ohos.util.d.ts
Deprecated version changed Class name: Base64;
Method or attribute name: decodeSync(src: Uint8Array |string): Uint8Array;
Old version:
Class name: Base64;
Method or attribute name: decodeSync(src: Uint8Array |string): Uint8Array;
New version: 9
Substitute API: ohos.util.Base64Helper.decodeSync
@ohos.util.d.ts
Deprecated version changed Class name: Base64;
Method or attribute name: encode(src: Uint8Array): Promise<Uint8Array>;
Old version:
Class name: Base64;
Method or attribute name: encode(src: Uint8Array): Promise<Uint8Array>;
New version: 9
Substitute API: ohos.util.Base64Helper.encode
@ohos.util.d.ts
Deprecated version changed Class name: Base64;
Method or attribute name: encodeToString(src: Uint8Array): Promise<string>;
Old version:
Class name: Base64;
Method or attribute name: encodeToString(src: Uint8Array): Promise<string>;
New version: 9
Substitute API: ohos.util.Base64Helper.encodeToString
@ohos.util.d.ts
Deprecated version changed Class name: Base64;
Method or attribute name: decode(src: Uint8Array |string): Promise<Uint8Array>;
Old version:
Class name: Base64;
Method or attribute name: decode(src: Uint8Array |string): Promise<Uint8Array>;
New version: 9
Substitute API: ohos.util.Base64Helper.decode
@ohos.util.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: declare class Vector
Old version:
Class name: Vector;
Method or attribute name: declare class Vector
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: constructor();
Old version:
Class name: Vector;
Method or attribute name: constructor();
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: length: number;
Old version:
Class name: Vector;
Method or attribute name: length: number;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: add(element: T): boolean;
Old version:
Class name: Vector;
Method or attribute name: add(element: T): boolean;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: insert(element: T, index: number): void;
Old version:
Class name: Vector;
Method or attribute name: insert(element: T, index: number): void;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: has(element: T): boolean;
Old version:
Class name: Vector;
Method or attribute name: has(element: T): boolean;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: get(index: number): T;
Old version:
Class name: Vector;
Method or attribute name: get(index: number): T;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: getIndexOf(element: T): number;
Old version:
Class name: Vector;
Method or attribute name: getIndexOf(element: T): number;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: getFirstElement(): T;
Old version:
Class name: Vector;
Method or attribute name: getFirstElement(): T;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: getLastElement(): T;
Old version:
Class name: Vector;
Method or attribute name: getLastElement(): T;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: removeByIndex(index: number): T;
Old version:
Class name: Vector;
Method or attribute name: removeByIndex(index: number): T;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: remove(element: T): boolean;
Old version:
Class name: Vector;
Method or attribute name: remove(element: T): boolean;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: set(index: number, element: T): T;
Old version:
Class name: Vector;
Method or attribute name: set(index: number, element: T): T;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: getLastIndexOf(element: T): number;
Old version:
Class name: Vector;
Method or attribute name: getLastIndexOf(element: T): number;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: getLastIndexFrom(element: T, index: number): number;
Old version:
Class name: Vector;
Method or attribute name: getLastIndexFrom(element: T, index: number): number;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: getIndexFrom(element: T, index: number): number;
Old version:
Class name: Vector;
Method or attribute name: getIndexFrom(element: T, index: number): number;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: removeByRange(fromIndex: number, toIndex: number): void;
Old version:
Class name: Vector;
Method or attribute name: removeByRange(fromIndex: number, toIndex: number): void;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: replaceAllElements(callbackFn: (value: T, index?: number, vector?: Vector<T>) => T,

thisArg?: Object): void;
Old version:
Class name: Vector;
Method or attribute name: replaceAllElements(callbackFn: (value: T, index?: number, vector?: Vector<T>) => T,

thisArg?: Object): void;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, vector?: Vector<T>) => void,

thisArg?: Object): void;
Old version:
Class name: Vector;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, vector?: Vector<T>) => void,

thisArg?: Object): void;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: sort(comparator?: (firstValue: T, secondValue: T) => number): void;
Old version:
Class name: Vector;
Method or attribute name: sort(comparator?: (firstValue: T, secondValue: T) => number): void;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: subVector(fromIndex: number, toIndex: number): Vector<T>;
Old version:
Class name: Vector;
Method or attribute name: subVector(fromIndex: number, toIndex: number): Vector<T>;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: clear(): void;
Old version:
Class name: Vector;
Method or attribute name: clear(): void;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: clone(): Vector<T>;
Old version:
Class name: Vector;
Method or attribute name: clone(): Vector<T>;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: setLength(newSize: number): void;
Old version:
Class name: Vector;
Method or attribute name: setLength(newSize: number): void;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: getCapacity(): number;
Old version:
Class name: Vector;
Method or attribute name: getCapacity(): number;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: convertToArray(): Array<T>;
Old version:
Class name: Vector;
Method or attribute name: convertToArray(): Array<T>;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: isEmpty(): boolean;
Old version:
Class name: Vector;
Method or attribute name: isEmpty(): boolean;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: increaseCapacityTo(newCapacity: number): void;
Old version:
Class name: Vector;
Method or attribute name: increaseCapacityTo(newCapacity: number): void;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: toString(): string;
Old version:
Class name: Vector;
Method or attribute name: toString(): string;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: trimToCurrentLength(): void;
Old version:
Class name: Vector;
Method or attribute name: trimToCurrentLength(): void;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: copyToArray(array: Array<T>): void;
Old version:
Class name: Vector;
Method or attribute name: copyToArray(array: Array<T>): void;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: Vector;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
Old version:
Class name: Vector;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
New version: 9
Substitute API: ohos.util.ArrayList
@ohos.util.Vector.d.ts
Deprecated version changed Class name: EventListener;
Method or attribute name: export interface EventListener
Old version:
Class name: EventListener;
Method or attribute name: export interface EventListener
New version: 9
Substitute API: ohos.worker.WorkerEventListener
@ohos.worker.d.ts
Deprecated version changed Class name: EventListener;
Method or attribute name: (evt: Event): void |Promise<void>;
Old version:
Class name: EventListener;
Method or attribute name: (evt: Event): void |Promise<void>;
New version: 9
Substitute API: ohos.worker.WorkerEventListener.(event:
@ohos.worker.d.ts
Deprecated version changed Class name: EventTarget;
Method or attribute name: export interface EventTarget
Old version:
Class name: EventTarget;
Method or attribute name: export interface EventTarget
New version: 9
Substitute API: ohos.worker.WorkerEventTarget
@ohos.worker.d.ts
Deprecated version changed Class name: EventTarget;
Method or attribute name: addEventListener(

type: string,

listener: EventListener

): void;
Old version:
Class name: EventTarget;
Method or attribute name: addEventListener(

type: string,

listener: EventListener

): void;
New version: 9
Substitute API: ohos.worker.WorkerEventTarget.addEventListener
@ohos.worker.d.ts
Deprecated version changed Class name: EventTarget;
Method or attribute name: dispatchEvent(event: Event): boolean;
Old version:
Class name: EventTarget;
Method or attribute name: dispatchEvent(event: Event): boolean;
New version: 9
Substitute API: ohos.worker.WorkerEventTarget.dispatchEvent
@ohos.worker.d.ts
Deprecated version changed Class name: EventTarget;
Method or attribute name: removeEventListener(

type: string,

callback?: EventListener

): void;
Old version:
Class name: EventTarget;
Method or attribute name: removeEventListener(

type: string,

callback?: EventListener

): void;
New version: 9
Substitute API: ohos.worker.WorkerEventTarget.removeEventListener
@ohos.worker.d.ts
Deprecated version changed Class name: EventTarget;
Method or attribute name: removeAllListener(): void;
Old version:
Class name: EventTarget;
Method or attribute name: removeAllListener(): void;
New version: 9
Substitute API: ohos.worker.WorkerEventTarget.removeAllListener
@ohos.worker.d.ts
Deprecated version changed Class name: WorkerGlobalScope;
Method or attribute name: declare interface WorkerGlobalScope
Old version:
Class name: WorkerGlobalScope;
Method or attribute name: declare interface WorkerGlobalScope
New version: 9
Substitute API: ohos.worker.GlobalScope
@ohos.worker.d.ts
Deprecated version changed Class name: WorkerGlobalScope;
Method or attribute name: readonly name: string;
Old version:
Class name: WorkerGlobalScope;
Method or attribute name: readonly name: string;
New version: 9
Substitute API: ohos.worker.GlobalScope.name
@ohos.worker.d.ts
Deprecated version changed Class name: WorkerGlobalScope;
Method or attribute name: onerror?: (ev: ErrorEvent) => void;
Old version:
Class name: WorkerGlobalScope;
Method or attribute name: onerror?: (ev: ErrorEvent) => void;
New version: 9
Substitute API: ohos.worker.GlobalScope.onerror
@ohos.worker.d.ts
Deprecated version changed Class name: WorkerGlobalScope;
Method or attribute name: readonly self: WorkerGlobalScope & typeof globalThis;
Old version:
Class name: WorkerGlobalScope;
Method or attribute name: readonly self: WorkerGlobalScope & typeof globalThis;
New version: 9
Substitute API: ohos.worker.GlobalScope
@ohos.worker.d.ts
Deprecated version changed Class name: DedicatedWorkerGlobalScope;
Method or attribute name: export interface DedicatedWorkerGlobalScope
Old version:
Class name: DedicatedWorkerGlobalScope;
Method or attribute name: export interface DedicatedWorkerGlobalScope
New version: 9
Substitute API: ohos.worker.ThreadWorkerGlobalScope
@ohos.worker.d.ts
Deprecated version changed Class name: DedicatedWorkerGlobalScope;
Method or attribute name: onmessage?: (this: DedicatedWorkerGlobalScope, ev: MessageEvent) => void;
Old version:
Class name: DedicatedWorkerGlobalScope;
Method or attribute name: onmessage?: (this: DedicatedWorkerGlobalScope, ev: MessageEvent) => void;
New version: 9
Substitute API: ohos.worker.ThreadWorkerGlobalScope.onmessage
@ohos.worker.d.ts
Deprecated version changed Class name: DedicatedWorkerGlobalScope;
Method or attribute name: onmessageerror?: (this: DedicatedWorkerGlobalScope, ev: MessageEvent) => void;
Old version:
Class name: DedicatedWorkerGlobalScope;
Method or attribute name: onmessageerror?: (this: DedicatedWorkerGlobalScope, ev: MessageEvent) => void;
New version: 9
Substitute API: ohos.worker.ThreadWorkerGlobalScope.onmessageerror
@ohos.worker.d.ts
Deprecated version changed Class name: DedicatedWorkerGlobalScope;
Method or attribute name: close(): void;
Old version:
Class name: DedicatedWorkerGlobalScope;
Method or attribute name: close(): void;
New version: 9
Substitute API: ohos.worker.ThreadWorkerGlobalScope.close
@ohos.worker.d.ts
Deprecated version changed Class name: DedicatedWorkerGlobalScope;
Method or attribute name: postMessage(messageObject: Object, transfer: Transferable[]): void;
Old version:
Class name: DedicatedWorkerGlobalScope;
Method or attribute name: postMessage(messageObject: Object, transfer: Transferable[]): void;
New version: 9
Substitute API: ohos.worker.ThreadWorkerGlobalScope.postMessage
@ohos.worker.d.ts
Deprecated version changed Class name: DedicatedWorkerGlobalScope;
Method or attribute name: postMessage(messageObject: Object, options?: PostMessageOptions): void;
Old version:
Class name: DedicatedWorkerGlobalScope;
Method or attribute name: postMessage(messageObject: Object, options?: PostMessageOptions): void;
New version: 9
Substitute API: ohos.worker.ThreadWorkerGlobalScope
@ohos.worker.d.ts
Deprecated version changed Class name: Worker;
Method or attribute name: class Worker
Old version:
Class name: Worker;
Method or attribute name: class Worker
New version: 9
Substitute API: ohos.worker.ThreadWorker
@ohos.worker.d.ts
Deprecated version changed Class name: Worker;
Method or attribute name: constructor(scriptURL: string, options?: WorkerOptions);
Old version:
Class name: Worker;
Method or attribute name: constructor(scriptURL: string, options?: WorkerOptions);
New version: 9
Substitute API: ohos.worker.ThreadWorker.constructor
@ohos.worker.d.ts
Deprecated version changed Class name: Worker;
Method or attribute name: onexit?: (code: number) => void;
Old version:
Class name: Worker;
Method or attribute name: onexit?: (code: number) => void;
New version: 9
Substitute API: ohos.worker.ThreadWorker.onexit
@ohos.worker.d.ts
Deprecated version changed Class name: Worker;
Method or attribute name: onerror?: (err: ErrorEvent) => void;
Old version:
Class name: Worker;
Method or attribute name: onerror?: (err: ErrorEvent) => void;
New version: 9
Substitute API: ohos.worker.ThreadWorker.onerror
@ohos.worker.d.ts
Deprecated version changed Class name: Worker;
Method or attribute name: onmessage?: (event: MessageEvent) => void;
Old version:
Class name: Worker;
Method or attribute name: onmessage?: (event: MessageEvent) => void;
New version: 9
Substitute API: ohos.worker.ThreadWorker.onmessage
@ohos.worker.d.ts
Deprecated version changed Class name: Worker;
Method or attribute name: onmessageerror?: (event: MessageEvent) => void;
Old version:
Class name: Worker;
Method or attribute name: onmessageerror?: (event: MessageEvent) => void;
New version: 9
Substitute API: ohos.worker.ThreadWorker.onmessageerror
@ohos.worker.d.ts
Deprecated version changed Class name: Worker;
Method or attribute name: postMessage(message: Object, transfer: ArrayBuffer[]): void;
Old version:
Class name: Worker;
Method or attribute name: postMessage(message: Object, transfer: ArrayBuffer[]): void;
New version: 9
Substitute API: ohos.worker.ThreadWorker.postMessage
@ohos.worker.d.ts
Deprecated version changed Class name: Worker;
Method or attribute name: postMessage(message: Object, options?: PostMessageOptions): void;
Old version:
Class name: Worker;
Method or attribute name: postMessage(message: Object, options?: PostMessageOptions): void;
New version: 9
Substitute API: ohos.worker.ThreadWorker
@ohos.worker.d.ts
Deprecated version changed Class name: Worker;
Method or attribute name: on(type: string, listener: EventListener): void;
Old version:
Class name: Worker;
Method or attribute name: on(type: string, listener: EventListener): void;
New version: 9
Substitute API: ohos.worker.ThreadWorker.on
@ohos.worker.d.ts
Deprecated version changed Class name: Worker;
Method or attribute name: once(type: string, listener: EventListener): void;
Old version:
Class name: Worker;
Method or attribute name: once(type: string, listener: EventListener): void;
New version: 9
Substitute API: ohos.worker.ThreadWorker.once
@ohos.worker.d.ts
Deprecated version changed Class name: Worker;
Method or attribute name: off(type: string, listener?: EventListener): void;
Old version:
Class name: Worker;
Method or attribute name: off(type: string, listener?: EventListener): void;
New version: 9
Substitute API: ohos.worker.ThreadWorker.off
@ohos.worker.d.ts
Deprecated version changed Class name: Worker;
Method or attribute name: terminate(): void;
Old version:
Class name: Worker;
Method or attribute name: terminate(): void;
New version: 9
Substitute API: ohos.worker.ThreadWorker.terminate
@ohos.worker.d.ts
Error code added Class name: URI;
Method or attribute name: constructor(uri: string);
Old version:
Class name: URI;
Method or attribute name: constructor(uri: string);
New version: 401,10200002
@ohos.uri.d.ts
Error code added Class name: ArrayList;
Method or attribute name: constructor();
Old version:
Class name: ArrayList;
Method or attribute name: constructor();
New version: 10200012
@ohos.util.ArrayList.d.ts
Error code added Class name: ArrayList;
Method or attribute name: add(element: T): boolean;
Old version:
Class name: ArrayList;
Method or attribute name: add(element: T): boolean;
New version: 10200011
@ohos.util.ArrayList.d.ts
Error code added Class name: ArrayList;
Method or attribute name: has(element: T): boolean;
Old version:
Class name: ArrayList;
Method or attribute name: has(element: T): boolean;
New version: 10200011
@ohos.util.ArrayList.d.ts
Error code added Class name: ArrayList;
Method or attribute name: getIndexOf(element: T): number;
Old version:
Class name: ArrayList;
Method or attribute name: getIndexOf(element: T): number;
New version: 10200011
@ohos.util.ArrayList.d.ts
Error code added Class name: ArrayList;
Method or attribute name: removeByIndex(index: number): T;
Old version:
Class name: ArrayList;
Method or attribute name: removeByIndex(index: number): T;
New version: 10200001,10200011,401
@ohos.util.ArrayList.d.ts
Error code added Class name: ArrayList;
Method or attribute name: remove(element: T): boolean;
Old version:
Class name: ArrayList;
Method or attribute name: remove(element: T): boolean;
New version: 10200011
@ohos.util.ArrayList.d.ts
Error code added Class name: ArrayList;
Method or attribute name: getLastIndexOf(element: T): number;
Old version:
Class name: ArrayList;
Method or attribute name: getLastIndexOf(element: T): number;
New version: 10200011
@ohos.util.ArrayList.d.ts
Error code added Class name: ArrayList;
Method or attribute name: replaceAllElements(callbackFn: (value: T, index?: number, arrlist?: ArrayList<T>) => T,

thisArg?: Object): void;
Old version:
Class name: ArrayList;
Method or attribute name: replaceAllElements(callbackFn: (value: T, index?: number, arrlist?: ArrayList<T>) => T,

thisArg?: Object): void;
New version: 10200011,401
@ohos.util.ArrayList.d.ts
Error code added Class name: ArrayList;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, arrlist?: ArrayList<T>) => void,

thisArg?: Object): void;
Old version:
Class name: ArrayList;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, arrlist?: ArrayList<T>) => void,

thisArg?: Object): void;
New version: 10200011,401
@ohos.util.ArrayList.d.ts
Error code added Class name: ArrayList;
Method or attribute name: sort(comparator?: (firstValue: T, secondValue: T) => number): void;
Old version:
Class name: ArrayList;
Method or attribute name: sort(comparator?: (firstValue: T, secondValue: T) => number): void;
New version: 10200011,401
@ohos.util.ArrayList.d.ts
Error code added Class name: ArrayList;
Method or attribute name: clear(): void;
Old version:
Class name: ArrayList;
Method or attribute name: clear(): void;
New version: 10200011
@ohos.util.ArrayList.d.ts
Error code added Class name: ArrayList;
Method or attribute name: clone(): ArrayList<T>;
Old version:
Class name: ArrayList;
Method or attribute name: clone(): ArrayList<T>;
New version: 10200011
@ohos.util.ArrayList.d.ts
Error code added Class name: ArrayList;
Method or attribute name: getCapacity(): number;
Old version:
Class name: ArrayList;
Method or attribute name: getCapacity(): number;
New version: 10200011
@ohos.util.ArrayList.d.ts
Error code added Class name: ArrayList;
Method or attribute name: convertToArray(): Array<T>;
Old version:
Class name: ArrayList;
Method or attribute name: convertToArray(): Array<T>;
New version: 10200011
@ohos.util.ArrayList.d.ts
Error code added Class name: ArrayList;
Method or attribute name: isEmpty(): boolean;
Old version:
Class name: ArrayList;
Method or attribute name: isEmpty(): boolean;
New version: 10200011
@ohos.util.ArrayList.d.ts
Error code added Class name: ArrayList;
Method or attribute name: increaseCapacityTo(newCapacity: number): void;
Old version:
Class name: ArrayList;
Method or attribute name: increaseCapacityTo(newCapacity: number): void;
New version: 10200011,401
@ohos.util.ArrayList.d.ts
Error code added Class name: ArrayList;
Method or attribute name: trimToCurrentLength(): void;
Old version:
Class name: ArrayList;
Method or attribute name: trimToCurrentLength(): void;
New version: 10200011
@ohos.util.ArrayList.d.ts
Error code added Class name: ArrayList;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
Old version:
Class name: ArrayList;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
New version: 10200011
@ohos.util.ArrayList.d.ts
Error code added Class name: util;
Method or attribute name: function callbackWrapper(original: Function): (err: Object, value: Object) => void;
Old version:
Class name: util;
Method or attribute name: function callbackWrapper(original: Function): (err: Object, value: Object) => void;
New version: 401
@ohos.util.d.ts
Error code added Class name: RationalNumber;
Method or attribute name: static createRationalFromString(rationalString: string): RationalNumber​;
Old version:
Class name: RationalNumber;
Method or attribute name: static createRationalFromString(rationalString: string): RationalNumber​;
New version: 401
@ohos.util.d.ts
Error code added Class name: Deque;
Method or attribute name: constructor();
Old version:
Class name: Deque;
Method or attribute name: constructor();
New version: 10200012
@ohos.util.Deque.d.ts
Error code added Class name: Deque;
Method or attribute name: insertFront(element: T): void;
Old version:
Class name: Deque;
Method or attribute name: insertFront(element: T): void;
New version: 10200011
@ohos.util.Deque.d.ts
Error code added Class name: Deque;
Method or attribute name: insertEnd(element: T): void;
Old version:
Class name: Deque;
Method or attribute name: insertEnd(element: T): void;
New version: 10200011
@ohos.util.Deque.d.ts
Error code added Class name: Deque;
Method or attribute name: has(element: T): boolean;
Old version:
Class name: Deque;
Method or attribute name: has(element: T): boolean;
New version: 10200011
@ohos.util.Deque.d.ts
Error code added Class name: Deque;
Method or attribute name: getFirst(): T;
Old version:
Class name: Deque;
Method or attribute name: getFirst(): T;
New version: 10200011
@ohos.util.Deque.d.ts
Error code added Class name: Deque;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, deque?: Deque<T>) => void,

thisArg?: Object): void;
Old version:
Class name: Deque;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, deque?: Deque<T>) => void,

thisArg?: Object): void;
New version: 401,10200011
@ohos.util.Deque.d.ts
Error code added Class name: Deque;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
Old version:
Class name: Deque;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
New version: 10200011
@ohos.util.Deque.d.ts
Error code added Class name: HashMap;
Method or attribute name: constructor();
Old version:
Class name: HashMap;
Method or attribute name: constructor();
New version: 10200012
@ohos.util.HashMap.d.ts
Error code added Class name: HashMap;
Method or attribute name: isEmpty(): boolean;
Old version:
Class name: HashMap;
Method or attribute name: isEmpty(): boolean;
New version: 10200011
@ohos.util.HashMap.d.ts
Error code added Class name: HashMap;
Method or attribute name: hasKey(key: K): boolean;
Old version:
Class name: HashMap;
Method or attribute name: hasKey(key: K): boolean;
New version: 10200011
@ohos.util.HashMap.d.ts
Error code added Class name: HashMap;
Method or attribute name: hasValue(value: V): boolean;
Old version:
Class name: HashMap;
Method or attribute name: hasValue(value: V): boolean;
New version: 10200011
@ohos.util.HashMap.d.ts
Error code added Class name: HashMap;
Method or attribute name: get(key: K): V;
Old version:
Class name: HashMap;
Method or attribute name: get(key: K): V;
New version: 10200011
@ohos.util.HashMap.d.ts
Error code added Class name: HashMap;
Method or attribute name: setAll(map: HashMap<K, V>): void;
Old version:
Class name: HashMap;
Method or attribute name: setAll(map: HashMap<K, V>): void;
New version: 10200011,401
@ohos.util.HashMap.d.ts
Error code added Class name: HashMap;
Method or attribute name: set(key: K, value: V): Object;
Old version:
Class name: HashMap;
Method or attribute name: set(key: K, value: V): Object;
New version: 10200011,401
@ohos.util.HashMap.d.ts
Error code added Class name: HashMap;
Method or attribute name: remove(key: K): V;
Old version:
Class name: HashMap;
Method or attribute name: remove(key: K): V;
New version: 10200011
@ohos.util.HashMap.d.ts
Error code added Class name: HashMap;
Method or attribute name: clear(): void;
Old version:
Class name: HashMap;
Method or attribute name: clear(): void;
New version: 10200011
@ohos.util.HashMap.d.ts
Error code added Class name: HashMap;
Method or attribute name: keys(): IterableIterator<K>;
Old version:
Class name: HashMap;
Method or attribute name: keys(): IterableIterator<K>;
New version: 10200011
@ohos.util.HashMap.d.ts
Error code added Class name: HashMap;
Method or attribute name: values(): IterableIterator<V>;
Old version:
Class name: HashMap;
Method or attribute name: values(): IterableIterator<V>;
New version: 10200011
@ohos.util.HashMap.d.ts
Error code added Class name: HashMap;
Method or attribute name: replace(key: K, newValue: V): boolean;
Old version:
Class name: HashMap;
Method or attribute name: replace(key: K, newValue: V): boolean;
New version: 10200011
@ohos.util.HashMap.d.ts
Error code added Class name: HashMap;
Method or attribute name: forEach(callbackFn: (value?: V, key?: K, map?: HashMap<K, V>) => void,

thisArg?: Object): void;
Old version:
Class name: HashMap;
Method or attribute name: forEach(callbackFn: (value?: V, key?: K, map?: HashMap<K, V>) => void,

thisArg?: Object): void;
New version: 10200011,401
@ohos.util.HashMap.d.ts
Error code added Class name: HashMap;
Method or attribute name: entries(): IterableIterator<[K, V]>;
Old version:
Class name: HashMap;
Method or attribute name: entries(): IterableIterator<[K, V]>;
New version: 10200011
@ohos.util.HashMap.d.ts
Error code added Class name: HashMap;
Method or attribute name: [Symbol.iterator](): IterableIterator<[K, V]>;
Old version:
Class name: HashMap;
Method or attribute name: [Symbol.iterator](): IterableIterator<[K, V]>;
New version: 10200011
@ohos.util.HashMap.d.ts
Error code added Class name: HashSet;
Method or attribute name: constructor();
Old version:
Class name: HashSet;
Method or attribute name: constructor();
New version: 10200012
@ohos.util.HashSet.d.ts
Error code added Class name: HashSet;
Method or attribute name: isEmpty(): boolean;
Old version:
Class name: HashSet;
Method or attribute name: isEmpty(): boolean;
New version: 10200011
@ohos.util.HashSet.d.ts
Error code added Class name: HashSet;
Method or attribute name: has(value: T): boolean;
Old version:
Class name: HashSet;
Method or attribute name: has(value: T): boolean;
New version: 10200011,401
@ohos.util.HashSet.d.ts
Error code added Class name: HashSet;
Method or attribute name: add(value: T): boolean;
Old version:
Class name: HashSet;
Method or attribute name: add(value: T): boolean;
New version: 10200011,401
@ohos.util.HashSet.d.ts
Error code added Class name: HashSet;
Method or attribute name: remove(value: T): boolean;
Old version:
Class name: HashSet;
Method or attribute name: remove(value: T): boolean;
New version: 10200011,401
@ohos.util.HashSet.d.ts
Error code added Class name: HashSet;
Method or attribute name: clear(): void;
Old version:
Class name: HashSet;
Method or attribute name: clear(): void;
New version: 10200011
@ohos.util.HashSet.d.ts
Error code added Class name: HashSet;
Method or attribute name: forEach(callbackFn: (value?: T, key?: T, set?: HashSet<T>) => void,

thisArg?: Object): void;
Old version:
Class name: HashSet;
Method or attribute name: forEach(callbackFn: (value?: T, key?: T, set?: HashSet<T>) => void,

thisArg?: Object): void;
New version: 10200011,401
@ohos.util.HashSet.d.ts
Error code added Class name: HashSet;
Method or attribute name: values(): IterableIterator<T>;
Old version:
Class name: HashSet;
Method or attribute name: values(): IterableIterator<T>;
New version: 10200011
@ohos.util.HashSet.d.ts
Error code added Class name: HashSet;
Method or attribute name: entries(): IterableIterator<[T, T]>;
Old version:
Class name: HashSet;
Method or attribute name: entries(): IterableIterator<[T, T]>;
New version: 10200011
@ohos.util.HashSet.d.ts
Error code added Class name: HashSet;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
Old version:
Class name: HashSet;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
New version: 10200011
@ohos.util.HashSet.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: constructor();
Old version:
Class name: LightWeightMap;
Method or attribute name: constructor();
New version: 10200012
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: hasAll(map: LightWeightMap<K, V>): boolean;
Old version:
Class name: LightWeightMap;
Method or attribute name: hasAll(map: LightWeightMap<K, V>): boolean;
New version: 401,10200011
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: hasKey(key: K): boolean;
Old version:
Class name: LightWeightMap;
Method or attribute name: hasKey(key: K): boolean;
New version: 10200011
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: hasValue(value: V): boolean;
Old version:
Class name: LightWeightMap;
Method or attribute name: hasValue(value: V): boolean;
New version: 10200011
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: increaseCapacityTo(minimumCapacity: number): void;
Old version:
Class name: LightWeightMap;
Method or attribute name: increaseCapacityTo(minimumCapacity: number): void;
New version: 10200011,401
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: entries(): IterableIterator<[K, V]>;
Old version:
Class name: LightWeightMap;
Method or attribute name: entries(): IterableIterator<[K, V]>;
New version: 10200011
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: get(key: K): V;
Old version:
Class name: LightWeightMap;
Method or attribute name: get(key: K): V;
New version: 10200011
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: getIndexOfKey(key: K): number;
Old version:
Class name: LightWeightMap;
Method or attribute name: getIndexOfKey(key: K): number;
New version: 10200011
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: getIndexOfValue(value: V): number;
Old version:
Class name: LightWeightMap;
Method or attribute name: getIndexOfValue(value: V): number;
New version: 10200011
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: isEmpty(): boolean;
Old version:
Class name: LightWeightMap;
Method or attribute name: isEmpty(): boolean;
New version: 10200011
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: getKeyAt(index: number): K;
Old version:
Class name: LightWeightMap;
Method or attribute name: getKeyAt(index: number): K;
New version: 10200011,10200001,401
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: keys(): IterableIterator<K>;
Old version:
Class name: LightWeightMap;
Method or attribute name: keys(): IterableIterator<K>;
New version: 10200011
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: setAll(map: LightWeightMap<K, V>): void;
Old version:
Class name: LightWeightMap;
Method or attribute name: setAll(map: LightWeightMap<K, V>): void;
New version: 10200011,401
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: set(key: K, value: V): Object;
Old version:
Class name: LightWeightMap;
Method or attribute name: set(key: K, value: V): Object;
New version: 10200011
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: remove(key: K): V;
Old version:
Class name: LightWeightMap;
Method or attribute name: remove(key: K): V;
New version: 10200011
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: removeAt(index: number): boolean;
Old version:
Class name: LightWeightMap;
Method or attribute name: removeAt(index: number): boolean;
New version: 10200011,401
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: clear(): void;
Old version:
Class name: LightWeightMap;
Method or attribute name: clear(): void;
New version: 10200011
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: setValueAt(index: number, newValue: V): boolean;
Old version:
Class name: LightWeightMap;
Method or attribute name: setValueAt(index: number, newValue: V): boolean;
New version: 10200011,10200001,401
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: forEach(callbackFn: (value?: V, key?: K, map?: LightWeightMap<K, V>) => void,

thisArg?: Object): void;
Old version:
Class name: LightWeightMap;
Method or attribute name: forEach(callbackFn: (value?: V, key?: K, map?: LightWeightMap<K, V>) => void,

thisArg?: Object): void;
New version: 10200011,401
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: [Symbol.iterator](): IterableIterator<[K, V]>;
Old version:
Class name: LightWeightMap;
Method or attribute name: [Symbol.iterator](): IterableIterator<[K, V]>;
New version: 10200011
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: toString(): String;
Old version:
Class name: LightWeightMap;
Method or attribute name: toString(): String;
New version: 10200011
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: getValueAt(index: number): V;
Old version:
Class name: LightWeightMap;
Method or attribute name: getValueAt(index: number): V;
New version: 10200011,10200001,401
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightMap;
Method or attribute name: values(): IterableIterator<V>;
Old version:
Class name: LightWeightMap;
Method or attribute name: values(): IterableIterator<V>;
New version: 10200011
@ohos.util.LightWeightMap.d.ts
Error code added Class name: LightWeightSet;
Method or attribute name: constructor();
Old version:
Class name: LightWeightSet;
Method or attribute name: constructor();
New version: 10200012
@ohos.util.LightWeightSet.d.ts
Error code added Class name: LightWeightSet;
Method or attribute name: add(obj: T): boolean;
Old version:
Class name: LightWeightSet;
Method or attribute name: add(obj: T): boolean;
New version: 10200011
@ohos.util.LightWeightSet.d.ts
Error code added Class name: LightWeightSet;
Method or attribute name: addAll(set: LightWeightSet<T>): boolean;
Old version:
Class name: LightWeightSet;
Method or attribute name: addAll(set: LightWeightSet<T>): boolean;
New version: 10200011,401
@ohos.util.LightWeightSet.d.ts
Error code added Class name: LightWeightSet;
Method or attribute name: hasAll(set: LightWeightSet<T>): boolean;
Old version:
Class name: LightWeightSet;
Method or attribute name: hasAll(set: LightWeightSet<T>): boolean;
New version: 10200011,401
@ohos.util.LightWeightSet.d.ts
Error code added Class name: LightWeightSet;
Method or attribute name: has(key: T): boolean;
Old version:
Class name: LightWeightSet;
Method or attribute name: has(key: T): boolean;
New version: 10200011
@ohos.util.LightWeightSet.d.ts
Error code added Class name: LightWeightSet;
Method or attribute name: equal(obj: Object): boolean;
Old version:
Class name: LightWeightSet;
Method or attribute name: equal(obj: Object): boolean;
New version: 10200011
@ohos.util.LightWeightSet.d.ts
Error code added Class name: LightWeightSet;
Method or attribute name: increaseCapacityTo(minimumCapacity: number): void;
Old version:
Class name: LightWeightSet;
Method or attribute name: increaseCapacityTo(minimumCapacity: number): void;
New version: 10200011,401,10200001
@ohos.util.LightWeightSet.d.ts
Error code added Class name: LightWeightSet;
Method or attribute name: getIndexOf(key: T): number;
Old version:
Class name: LightWeightSet;
Method or attribute name: getIndexOf(key: T): number;
New version: 10200011
@ohos.util.LightWeightSet.d.ts
Error code added Class name: LightWeightSet;
Method or attribute name: remove(key: T): T;
Old version:
Class name: LightWeightSet;
Method or attribute name: remove(key: T): T;
New version: 10200011
@ohos.util.LightWeightSet.d.ts
Error code added Class name: LightWeightSet;
Method or attribute name: removeAt(index: number): boolean;
Old version:
Class name: LightWeightSet;
Method or attribute name: removeAt(index: number): boolean;
New version: 10200011,401
@ohos.util.LightWeightSet.d.ts
Error code added Class name: LightWeightSet;
Method or attribute name: clear(): void;
Old version:
Class name: LightWeightSet;
Method or attribute name: clear(): void;
New version: 10200011
@ohos.util.LightWeightSet.d.ts
Error code added Class name: LightWeightSet;
Method or attribute name: forEach(callbackFn: (value?: T, key?: T, set?: LightWeightSet<T>) => void,

thisArg?: Object): void;
Old version:
Class name: LightWeightSet;
Method or attribute name: forEach(callbackFn: (value?: T, key?: T, set?: LightWeightSet<T>) => void,

thisArg?: Object): void;
New version: 10200011,401
@ohos.util.LightWeightSet.d.ts
Error code added Class name: LightWeightSet;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
Old version:
Class name: LightWeightSet;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
New version: 10200011
@ohos.util.LightWeightSet.d.ts
Error code added Class name: LightWeightSet;
Method or attribute name: toArray(): Array<T>;
Old version:
Class name: LightWeightSet;
Method or attribute name: toArray(): Array<T>;
New version: 10200011
@ohos.util.LightWeightSet.d.ts
Error code added Class name: LightWeightSet;
Method or attribute name: getValueAt(index: number): T;
Old version:
Class name: LightWeightSet;
Method or attribute name: getValueAt(index: number): T;
New version: 10200011,401
@ohos.util.LightWeightSet.d.ts
Error code added Class name: LightWeightSet;
Method or attribute name: values(): IterableIterator<T>;
Old version:
Class name: LightWeightSet;
Method or attribute name: values(): IterableIterator<T>;
New version: 10200011
@ohos.util.LightWeightSet.d.ts
Error code added Class name: LightWeightSet;
Method or attribute name: entries(): IterableIterator<[T, T]>;
Old version:
Class name: LightWeightSet;
Method or attribute name: entries(): IterableIterator<[T, T]>;
New version: 10200011
@ohos.util.LightWeightSet.d.ts
Error code added Class name: LightWeightSet;
Method or attribute name: isEmpty(): boolean;
Old version:
Class name: LightWeightSet;
Method or attribute name: isEmpty(): boolean;
New version: 10200011
@ohos.util.LightWeightSet.d.ts
Error code added Class name: LinkedList;
Method or attribute name: constructor();
Old version:
Class name: LinkedList;
Method or attribute name: constructor();
New version: 10200012
@ohos.util.LinkedList.d.ts
Error code added Class name: LinkedList;
Method or attribute name: add(element: T): boolean;
Old version:
Class name: LinkedList;
Method or attribute name: add(element: T): boolean;
New version: 10200011
@ohos.util.LinkedList.d.ts
Error code added Class name: LinkedList;
Method or attribute name: get(index: number): T;
Old version:
Class name: LinkedList;
Method or attribute name: get(index: number): T;
New version: 10200011,401
@ohos.util.LinkedList.d.ts
Error code added Class name: LinkedList;
Method or attribute name: addFirst(element: T): void;
Old version:
Class name: LinkedList;
Method or attribute name: addFirst(element: T): void;
New version: 10200011
@ohos.util.LinkedList.d.ts
Error code added Class name: LinkedList;
Method or attribute name: has(element: T): boolean;
Old version:
Class name: LinkedList;
Method or attribute name: has(element: T): boolean;
New version: 10200011
@ohos.util.LinkedList.d.ts
Error code added Class name: LinkedList;
Method or attribute name: getIndexOf(element: T): number;
Old version:
Class name: LinkedList;
Method or attribute name: getIndexOf(element: T): number;
New version: 10200011
@ohos.util.LinkedList.d.ts
Error code added Class name: LinkedList;
Method or attribute name: removeByIndex(index: number): T;
Old version:
Class name: LinkedList;
Method or attribute name: removeByIndex(index: number): T;
New version: 10200011,401,10200001
@ohos.util.LinkedList.d.ts
Error code added Class name: LinkedList;
Method or attribute name: remove(element: T): boolean;
Old version:
Class name: LinkedList;
Method or attribute name: remove(element: T): boolean;
New version: 10200011
@ohos.util.LinkedList.d.ts
Error code added Class name: LinkedList;
Method or attribute name: removeFirstFound(element: T): boolean;
Old version:
Class name: LinkedList;
Method or attribute name: removeFirstFound(element: T): boolean;
New version: 10200011,10200010,10200017
@ohos.util.LinkedList.d.ts
Error code added Class name: LinkedList;
Method or attribute name: removeLastFound(element: T): boolean;
Old version:
Class name: LinkedList;
Method or attribute name: removeLastFound(element: T): boolean;
New version: 10200011,10200010,10200017
@ohos.util.LinkedList.d.ts
Error code added Class name: LinkedList;
Method or attribute name: getLastIndexOf(element: T): number;
Old version:
Class name: LinkedList;
Method or attribute name: getLastIndexOf(element: T): number;
New version: 10200011
@ohos.util.LinkedList.d.ts
Error code added Class name: LinkedList;
Method or attribute name: getFirst(): T;
Old version:
Class name: LinkedList;
Method or attribute name: getFirst(): T;
New version: 10200011
@ohos.util.LinkedList.d.ts
Error code added Class name: LinkedList;
Method or attribute name: getLast(): T;
Old version:
Class name: LinkedList;
Method or attribute name: getLast(): T;
New version: 10200011
@ohos.util.LinkedList.d.ts
Error code added Class name: LinkedList;
Method or attribute name: set(index: number, element: T): T;
Old version:
Class name: LinkedList;
Method or attribute name: set(index: number, element: T): T;
New version: 10200011,10200001,401
@ohos.util.LinkedList.d.ts
Error code added Class name: LinkedList;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, LinkedList?: LinkedList<T>) => void,

thisArg?: Object): void;
Old version:
Class name: LinkedList;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, LinkedList?: LinkedList<T>) => void,

thisArg?: Object): void;
New version: 10200011,401
@ohos.util.LinkedList.d.ts
Error code added Class name: LinkedList;
Method or attribute name: clear(): void;
Old version:
Class name: LinkedList;
Method or attribute name: clear(): void;
New version: 10200011
@ohos.util.LinkedList.d.ts
Error code added Class name: LinkedList;
Method or attribute name: clone(): LinkedList<T>;
Old version:
Class name: LinkedList;
Method or attribute name: clone(): LinkedList<T>;
New version: 10200011
@ohos.util.LinkedList.d.ts
Error code added Class name: LinkedList;
Method or attribute name: convertToArray(): Array<T>;
Old version:
Class name: LinkedList;
Method or attribute name: convertToArray(): Array<T>;
New version: 10200011
@ohos.util.LinkedList.d.ts
Error code added Class name: LinkedList;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
Old version:
Class name: LinkedList;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
New version: 10200011
@ohos.util.LinkedList.d.ts
Error code added Class name: List;
Method or attribute name: constructor();
Old version:
Class name: List;
Method or attribute name: constructor();
New version: 10200012
@ohos.util.List.d.ts
Error code added Class name: List;
Method or attribute name: add(element: T): boolean;
Old version:
Class name: List;
Method or attribute name: add(element: T): boolean;
New version: 10200011
@ohos.util.List.d.ts
Error code added Class name: List;
Method or attribute name: get(index: number): T;
Old version:
Class name: List;
Method or attribute name: get(index: number): T;
New version: 10200011,401
@ohos.util.List.d.ts
Error code added Class name: List;
Method or attribute name: has(element: T): boolean;
Old version:
Class name: List;
Method or attribute name: has(element: T): boolean;
New version: 10200011
@ohos.util.List.d.ts
Error code added Class name: List;
Method or attribute name: getIndexOf(element: T): number;
Old version:
Class name: List;
Method or attribute name: getIndexOf(element: T): number;
New version: 10200011
@ohos.util.List.d.ts
Error code added Class name: List;
Method or attribute name: removeByIndex(index: number): T;
Old version:
Class name: List;
Method or attribute name: removeByIndex(index: number): T;
New version: 10200011,10200001,401
@ohos.util.List.d.ts
Error code added Class name: List;
Method or attribute name: remove(element: T): boolean;
Old version:
Class name: List;
Method or attribute name: remove(element: T): boolean;
New version: 10200011
@ohos.util.List.d.ts
Error code added Class name: List;
Method or attribute name: getLastIndexOf(element: T): number;
Old version:
Class name: List;
Method or attribute name: getLastIndexOf(element: T): number;
New version: 10200011
@ohos.util.List.d.ts
Error code added Class name: List;
Method or attribute name: getFirst(): T;
Old version:
Class name: List;
Method or attribute name: getFirst(): T;
New version: 10200011
@ohos.util.List.d.ts
Error code added Class name: List;
Method or attribute name: getLast(): T;
Old version:
Class name: List;
Method or attribute name: getLast(): T;
New version: 10200011
@ohos.util.List.d.ts
Error code added Class name: List;
Method or attribute name: set(index: number, element: T): T;
Old version:
Class name: List;
Method or attribute name: set(index: number, element: T): T;
New version: 10200011,10200001,401
@ohos.util.List.d.ts
Error code added Class name: List;
Method or attribute name: equal(obj: Object): boolean;
Old version:
Class name: List;
Method or attribute name: equal(obj: Object): boolean;
New version: 10200011
@ohos.util.List.d.ts
Error code added Class name: List;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, List?: List<T>) => void,

thisArg?: Object): void;
Old version:
Class name: List;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, List?: List<T>) => void,

thisArg?: Object): void;
New version: 10200011,401
@ohos.util.List.d.ts
Error code added Class name: List;
Method or attribute name: sort(comparator: (firstValue: T, secondValue: T) => number): void;
Old version:
Class name: List;
Method or attribute name: sort(comparator: (firstValue: T, secondValue: T) => number): void;
New version: 401,10200011
@ohos.util.List.d.ts
Error code added Class name: List;
Method or attribute name: clear(): void;
Old version:
Class name: List;
Method or attribute name: clear(): void;
New version: 10200011
@ohos.util.List.d.ts
Error code added Class name: List;
Method or attribute name: replaceAllElements(callbackFn: (value: T, index?: number, list?: List<T>) => T,

thisArg?: Object): void;
Old version:
Class name: List;
Method or attribute name: replaceAllElements(callbackFn: (value: T, index?: number, list?: List<T>) => T,

thisArg?: Object): void;
New version: 10200011,401
@ohos.util.List.d.ts
Error code added Class name: List;
Method or attribute name: convertToArray(): Array<T>;
Old version:
Class name: List;
Method or attribute name: convertToArray(): Array<T>;
New version: 10200011
@ohos.util.List.d.ts
Error code added Class name: List;
Method or attribute name: isEmpty(): boolean;
Old version:
Class name: List;
Method or attribute name: isEmpty(): boolean;
New version: 10200011
@ohos.util.List.d.ts
Error code added Class name: List;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
Old version:
Class name: List;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
New version: 10200011
@ohos.util.List.d.ts
Error code added Class name: PlainArray;
Method or attribute name: constructor();
Old version:
Class name: PlainArray;
Method or attribute name: constructor();
New version: 10200012
@ohos.util.PlainArray.d.ts
Error code added Class name: PlainArray;
Method or attribute name: clear(): void;
Old version:
Class name: PlainArray;
Method or attribute name: clear(): void;
New version: 10200011
@ohos.util.PlainArray.d.ts
Error code added Class name: PlainArray;
Method or attribute name: clone(): PlainArray<T>;
Old version:
Class name: PlainArray;
Method or attribute name: clone(): PlainArray<T>;
New version: 10200011
@ohos.util.PlainArray.d.ts
Error code added Class name: PlainArray;
Method or attribute name: has(key: number): boolean;
Old version:
Class name: PlainArray;
Method or attribute name: has(key: number): boolean;
New version: 10200011,401
@ohos.util.PlainArray.d.ts
Error code added Class name: PlainArray;
Method or attribute name: get(key: number): T;
Old version:
Class name: PlainArray;
Method or attribute name: get(key: number): T;
New version: 10200011,401
@ohos.util.PlainArray.d.ts
Error code added Class name: PlainArray;
Method or attribute name: getIndexOfKey(key: number): number;
Old version:
Class name: PlainArray;
Method or attribute name: getIndexOfKey(key: number): number;
New version: 10200011,401
@ohos.util.PlainArray.d.ts
Error code added Class name: PlainArray;
Method or attribute name: getIndexOfValue(value: T): number;
Old version:
Class name: PlainArray;
Method or attribute name: getIndexOfValue(value: T): number;
New version: 10200011
@ohos.util.PlainArray.d.ts
Error code added Class name: PlainArray;
Method or attribute name: isEmpty(): boolean;
Old version:
Class name: PlainArray;
Method or attribute name: isEmpty(): boolean;
New version: 10200011
@ohos.util.PlainArray.d.ts
Error code added Class name: PlainArray;
Method or attribute name: getKeyAt(index: number): number;
Old version:
Class name: PlainArray;
Method or attribute name: getKeyAt(index: number): number;
New version: 10200011,401
@ohos.util.PlainArray.d.ts
Error code added Class name: PlainArray;
Method or attribute name: remove(key: number): T;
Old version:
Class name: PlainArray;
Method or attribute name: remove(key: number): T;
New version: 10200011,401
@ohos.util.PlainArray.d.ts
Error code added Class name: PlainArray;
Method or attribute name: removeAt(index: number): T;
Old version:
Class name: PlainArray;
Method or attribute name: removeAt(index: number): T;
New version: 10200011,401
@ohos.util.PlainArray.d.ts
Error code added Class name: PlainArray;
Method or attribute name: removeRangeFrom(index: number, size: number): number;
Old version:
Class name: PlainArray;
Method or attribute name: removeRangeFrom(index: number, size: number): number;
New version: 10200011,10200001,401
@ohos.util.PlainArray.d.ts
Error code added Class name: PlainArray;
Method or attribute name: setValueAt(index: number, value: T): void;
Old version:
Class name: PlainArray;
Method or attribute name: setValueAt(index: number, value: T): void;
New version: 10200011,10200001,401
@ohos.util.PlainArray.d.ts
Error code added Class name: PlainArray;
Method or attribute name: toString(): String;
Old version:
Class name: PlainArray;
Method or attribute name: toString(): String;
New version: 10200011
@ohos.util.PlainArray.d.ts
Error code added Class name: PlainArray;
Method or attribute name: getValueAt(index: number): T;
Old version:
Class name: PlainArray;
Method or attribute name: getValueAt(index: number): T;
New version: 10200011,10200001,401
@ohos.util.PlainArray.d.ts
Error code added Class name: PlainArray;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, PlainArray?: PlainArray<T>) => void,

thisArg?: Object): void;
Old version:
Class name: PlainArray;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, PlainArray?: PlainArray<T>) => void,

thisArg?: Object): void;
New version: 10200011,401
@ohos.util.PlainArray.d.ts
Error code added Class name: PlainArray;
Method or attribute name: [Symbol.iterator](): IterableIterator<[number, T]>;
Old version:
Class name: PlainArray;
Method or attribute name: [Symbol.iterator](): IterableIterator<[number, T]>;
New version: 10200011
@ohos.util.PlainArray.d.ts
Error code added Class name: Queue;
Method or attribute name: constructor();
Old version:
Class name: Queue;
Method or attribute name: constructor();
New version: 10200012
@ohos.util.Queue.d.ts
Error code added Class name: Queue;
Method or attribute name: add(element: T): boolean;
Old version:
Class name: Queue;
Method or attribute name: add(element: T): boolean;
New version: 10200011
@ohos.util.Queue.d.ts
Error code added Class name: Queue;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, Queue?: Queue<T>) => void,

thisArg?: Object): void;
Old version:
Class name: Queue;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, Queue?: Queue<T>) => void,

thisArg?: Object): void;
New version: 10200011,401
@ohos.util.Queue.d.ts
Error code added Class name: Queue;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
Old version:
Class name: Queue;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
New version: 10200011
@ohos.util.Queue.d.ts
Error code added Class name: Stack;
Method or attribute name: constructor();
Old version:
Class name: Stack;
Method or attribute name: constructor();
New version: 10200012
@ohos.util.Stack.d.ts
Error code added Class name: Stack;
Method or attribute name: isEmpty(): boolean;
Old version:
Class name: Stack;
Method or attribute name: isEmpty(): boolean;
New version: 10200011
@ohos.util.Stack.d.ts
Error code added Class name: Stack;
Method or attribute name: peek(): T;
Old version:
Class name: Stack;
Method or attribute name: peek(): T;
New version: 10200011
@ohos.util.Stack.d.ts
Error code added Class name: Stack;
Method or attribute name: pop(): T;
Old version:
Class name: Stack;
Method or attribute name: pop(): T;
New version: 10200011
@ohos.util.Stack.d.ts
Error code added Class name: Stack;
Method or attribute name: push(item: T): T;
Old version:
Class name: Stack;
Method or attribute name: push(item: T): T;
New version: 10200011
@ohos.util.Stack.d.ts
Error code added Class name: Stack;
Method or attribute name: locate(element: T): number;
Old version:
Class name: Stack;
Method or attribute name: locate(element: T): number;
New version: 10200011
@ohos.util.Stack.d.ts
Error code added Class name: Stack;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, stack?: Stack<T>) => void,

thisArg?: Object): void;
Old version:
Class name: Stack;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, stack?: Stack<T>) => void,

thisArg?: Object): void;
New version: 10200011,401
@ohos.util.Stack.d.ts
Error code added Class name: Stack;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
Old version:
Class name: Stack;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
New version: 10200011
@ohos.util.Stack.d.ts
Error code added Class name: TreeMap;
Method or attribute name: constructor(comparator?: (firstValue: K, secondValue: K) => boolean);
Old version:
Class name: TreeMap;
Method or attribute name: constructor(comparator?: (firstValue: K, secondValue: K) => boolean);
New version: 10200012,401
@ohos.util.TreeMap.d.ts
Error code added Class name: TreeMap;
Method or attribute name: isEmpty(): boolean;
Old version:
Class name: TreeMap;
Method or attribute name: isEmpty(): boolean;
New version: 10200011
@ohos.util.TreeMap.d.ts
Error code added Class name: TreeMap;
Method or attribute name: hasKey(key: K): boolean;
Old version:
Class name: TreeMap;
Method or attribute name: hasKey(key: K): boolean;
New version: 10200011
@ohos.util.TreeMap.d.ts
Error code added Class name: TreeMap;
Method or attribute name: hasValue(value: V): boolean;
Old version:
Class name: TreeMap;
Method or attribute name: hasValue(value: V): boolean;
New version: 10200011
@ohos.util.TreeMap.d.ts
Error code added Class name: TreeMap;
Method or attribute name: get(key: K): V;
Old version:
Class name: TreeMap;
Method or attribute name: get(key: K): V;
New version: 10200011
@ohos.util.TreeMap.d.ts
Error code added Class name: TreeMap;
Method or attribute name: getFirstKey(): K;
Old version:
Class name: TreeMap;
Method or attribute name: getFirstKey(): K;
New version: 10200011
@ohos.util.TreeMap.d.ts
Error code added Class name: TreeMap;
Method or attribute name: getLastKey(): K;
Old version:
Class name: TreeMap;
Method or attribute name: getLastKey(): K;
New version: 10200011
@ohos.util.TreeMap.d.ts
Error code added Class name: TreeMap;
Method or attribute name: setAll(map: TreeMap<K, V>): void;
Old version:
Class name: TreeMap;
Method or attribute name: setAll(map: TreeMap<K, V>): void;
New version: 10200011,401
@ohos.util.TreeMap.d.ts
Error code added Class name: TreeMap;
Method or attribute name: set(key: K, value: V): Object;
Old version:
Class name: TreeMap;
Method or attribute name: set(key: K, value: V): Object;
New version: 10200011,401
@ohos.util.TreeMap.d.ts
Error code added Class name: TreeMap;
Method or attribute name: remove(key: K): V;
Old version:
Class name: TreeMap;
Method or attribute name: remove(key: K): V;
New version: 10200011
@ohos.util.TreeMap.d.ts
Error code added Class name: TreeMap;
Method or attribute name: clear(): void;
Old version:
Class name: TreeMap;
Method or attribute name: clear(): void;
New version: 10200011
@ohos.util.TreeMap.d.ts
Error code added Class name: TreeMap;
Method or attribute name: getLowerKey(key: K): K;
Old version:
Class name: TreeMap;
Method or attribute name: getLowerKey(key: K): K;
New version: 10200011
@ohos.util.TreeMap.d.ts
Error code added Class name: TreeMap;
Method or attribute name: getHigherKey(key: K): K;
Old version:
Class name: TreeMap;
Method or attribute name: getHigherKey(key: K): K;
New version: 10200011
@ohos.util.TreeMap.d.ts
Error code added Class name: TreeMap;
Method or attribute name: keys(): IterableIterator<K>;
Old version:
Class name: TreeMap;
Method or attribute name: keys(): IterableIterator<K>;
New version: 10200011
@ohos.util.TreeMap.d.ts
Error code added Class name: TreeMap;
Method or attribute name: values(): IterableIterator<V>;
Old version:
Class name: TreeMap;
Method or attribute name: values(): IterableIterator<V>;
New version: 10200011
@ohos.util.TreeMap.d.ts
Error code added Class name: TreeMap;
Method or attribute name: replace(key: K, newValue: V): boolean;
Old version:
Class name: TreeMap;
Method or attribute name: replace(key: K, newValue: V): boolean;
New version: 10200011
@ohos.util.TreeMap.d.ts
Error code added Class name: TreeMap;
Method or attribute name: forEach(callbackFn: (value?: V, key?: K, map?: TreeMap<K, V>) => void,

thisArg?: Object): void;
Old version:
Class name: TreeMap;
Method or attribute name: forEach(callbackFn: (value?: V, key?: K, map?: TreeMap<K, V>) => void,

thisArg?: Object): void;
New version: 10200011,401
@ohos.util.TreeMap.d.ts
Error code added Class name: TreeMap;
Method or attribute name: entries(): IterableIterator<[K, V]>;
Old version:
Class name: TreeMap;
Method or attribute name: entries(): IterableIterator<[K, V]>;
New version: 10200011
@ohos.util.TreeMap.d.ts
Error code added Class name: TreeMap;
Method or attribute name: [Symbol.iterator](): IterableIterator<[K, V]>;
Old version:
Class name: TreeMap;
Method or attribute name: [Symbol.iterator](): IterableIterator<[K, V]>;
New version: 10200011
@ohos.util.TreeMap.d.ts
Error code added Class name: TreeSet;
Method or attribute name: constructor(comparator?: (firstValue: T, secondValue: T) => boolean)
Old version:
Class name: TreeSet;
Method or attribute name: constructor(comparator?: (firstValue: T, secondValue: T) => boolean)
New version: 10200012,401
@ohos.util.TreeSet.d.ts
Error code added Class name: TreeSet;
Method or attribute name: isEmpty(): boolean;
Old version:
Class name: TreeSet;
Method or attribute name: isEmpty(): boolean;
New version: 10200011
@ohos.util.TreeSet.d.ts
Error code added Class name: TreeSet;
Method or attribute name: has(value: T): boolean;
Old version:
Class name: TreeSet;
Method or attribute name: has(value: T): boolean;
New version: 10200011
@ohos.util.TreeSet.d.ts
Error code added Class name: TreeSet;
Method or attribute name: add(value: T): boolean;
Old version:
Class name: TreeSet;
Method or attribute name: add(value: T): boolean;
New version: 401,10200011
@ohos.util.TreeSet.d.ts
Error code added Class name: TreeSet;
Method or attribute name: remove(value: T): boolean;
Old version:
Class name: TreeSet;
Method or attribute name: remove(value: T): boolean;
New version: 10200011
@ohos.util.TreeSet.d.ts
Error code added Class name: TreeSet;
Method or attribute name: clear(): void;
Old version:
Class name: TreeSet;
Method or attribute name: clear(): void;
New version: 10200011
@ohos.util.TreeSet.d.ts
Error code added Class name: TreeSet;
Method or attribute name: getFirstValue(): T;
Old version:
Class name: TreeSet;
Method or attribute name: getFirstValue(): T;
New version: 10200011
@ohos.util.TreeSet.d.ts
Error code added Class name: TreeSet;
Method or attribute name: getLastValue(): T;
Old version:
Class name: TreeSet;
Method or attribute name: getLastValue(): T;
New version: 10200011
@ohos.util.TreeSet.d.ts
Error code added Class name: TreeSet;
Method or attribute name: getLowerValue(key: T): T;
Old version:
Class name: TreeSet;
Method or attribute name: getLowerValue(key: T): T;
New version: 10200011,401
@ohos.util.TreeSet.d.ts
Error code added Class name: TreeSet;
Method or attribute name: getHigherValue(key: T): T;
Old version:
Class name: TreeSet;
Method or attribute name: getHigherValue(key: T): T;
New version: 10200011,401
@ohos.util.TreeSet.d.ts
Error code added Class name: TreeSet;
Method or attribute name: popFirst(): T;
Old version:
Class name: TreeSet;
Method or attribute name: popFirst(): T;
New version: 10200011
@ohos.util.TreeSet.d.ts
Error code added Class name: TreeSet;
Method or attribute name: popLast(): T;
Old version:
Class name: TreeSet;
Method or attribute name: popLast(): T;
New version: 10200011
@ohos.util.TreeSet.d.ts
Error code added Class name: TreeSet;
Method or attribute name: forEach(callbackFn: (value?: T, key?: T, set?: TreeSet<T>) => void,

thisArg?: Object): void;
Old version:
Class name: TreeSet;
Method or attribute name: forEach(callbackFn: (value?: T, key?: T, set?: TreeSet<T>) => void,

thisArg?: Object): void;
New version: 10200011,401
@ohos.util.TreeSet.d.ts
Error code added Class name: TreeSet;
Method or attribute name: values(): IterableIterator<T>;
Old version:
Class name: TreeSet;
Method or attribute name: values(): IterableIterator<T>;
New version: 10200011
@ohos.util.TreeSet.d.ts
Error code added Class name: TreeSet;
Method or attribute name: entries(): IterableIterator<[T, T]>;
Old version:
Class name: TreeSet;
Method or attribute name: entries(): IterableIterator<[T, T]>;
New version: 10200011
@ohos.util.TreeSet.d.ts
Error code added Class name: TreeSet;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
Old version:
Class name: TreeSet;
Method or attribute name: [Symbol.iterator](): IterableIterator<T>;
New version: 10200011
@ohos.util.TreeSet.d.ts
Error code added Class name: XmlSerializer;
Method or attribute name: constructor(buffer: ArrayBuffer |DataView, encoding?: string);
Old version:
Class name: XmlSerializer;
Method or attribute name: constructor(buffer: ArrayBuffer |DataView, encoding?: string);
New version: 401
@ohos.xml.d.ts
Error code added Class name: XmlPullParser;
Method or attribute name: constructor(buffer: ArrayBuffer |DataView, encoding?: string);
Old version:
Class name: XmlPullParser;
Method or attribute name: constructor(buffer: ArrayBuffer |DataView, encoding?: string);
New version: 401
@ohos.xml.d.ts
Error code added Class name: XmlSerializer;
Method or attribute name: setAttributes(name: string, value: string): void;
Old version:
Class name: XmlSerializer;
Method or attribute name: setAttributes(name: string, value: string): void;
New version: 401
@ohos.xml.d.ts
Error code added Class name: XmlSerializer;
Method or attribute name: addEmptyElement(name: string): void;
Old version:
Class name: XmlSerializer;
Method or attribute name: addEmptyElement(name: string): void;
New version: 401
@ohos.xml.d.ts
Error code added Class name: XmlSerializer;
Method or attribute name: startElement(name: string): void;
Old version:
Class name: XmlSerializer;
Method or attribute name: startElement(name: string): void;
New version: 401
@ohos.xml.d.ts
Error code added Class name: XmlSerializer;
Method or attribute name: setNamespace(prefix: string, namespace: string): void;
Old version:
Class name: XmlSerializer;
Method or attribute name: setNamespace(prefix: string, namespace: string): void;
New version: 401
@ohos.xml.d.ts
Error code added Class name: XmlSerializer;
Method or attribute name: setComment(text: string): void;
Old version:
Class name: XmlSerializer;
Method or attribute name: setComment(text: string): void;
New version: 401
@ohos.xml.d.ts
Error code added Class name: XmlSerializer;
Method or attribute name: setCDATA(text: string): void;
Old version:
Class name: XmlSerializer;
Method or attribute name: setCDATA(text: string): void;
New version: 401
@ohos.xml.d.ts
Error code added Class name: XmlSerializer;
Method or attribute name: setText(text: string): void;
Old version:
Class name: XmlSerializer;
Method or attribute name: setText(text: string): void;
New version: 401
@ohos.xml.d.ts
Error code added Class name: XmlSerializer;
Method or attribute name: setDocType(text: string): void;
Old version:
Class name: XmlSerializer;
Method or attribute name: setDocType(text: string): void;
New version: 401
@ohos.xml.d.ts
Error code added Class name: XmlPullParser;
Method or attribute name: parse(option: ParseOptions): void;
Old version:
Class name: XmlPullParser;
Method or attribute name: parse(option: ParseOptions): void;
New version: 401
@ohos.xml.d.ts
Error code changed Class name: ArrayList;
Method or attribute name: insert(element: T, index: number): void;
Old version: If
Class name: ArrayList;
Method or attribute name: insert(element: T, index: number): void;
New version: 10200001,10200011,401
@ohos.util.ArrayList.d.ts
Error code changed Class name: ArrayList;
Method or attribute name: removeByRange(fromIndex: number, toIndex: number): void;
Old version: If
Class name: ArrayList;
Method or attribute name: removeByRange(fromIndex: number, toIndex: number): void;
New version: 10200001,10200011,401
@ohos.util.ArrayList.d.ts
Error code changed Class name: ArrayList;
Method or attribute name: subArrayList(fromIndex: number, toIndex: number): ArrayList<T>;
Old version: If
Class name: ArrayList;
Method or attribute name: subArrayList(fromIndex: number, toIndex: number): ArrayList<T>;
New version: 10200001,10200011,401
@ohos.util.ArrayList.d.ts
Error code changed Class name: Deque;
Method or attribute name: getLast(): T;
Old version: an
Class name: Deque;
Method or attribute name: getLast(): T;
New version: 10200011
@ohos.util.Deque.d.ts
Error code changed Class name: Deque;
Method or attribute name: popFirst(): T;
Old version: an
Class name: Deque;
Method or attribute name: popFirst(): T;
New version: 10200011
@ohos.util.Deque.d.ts
Error code changed Class name: Deque;
Method or attribute name: popLast(): T;
Old version: an
Class name: Deque;
Method or attribute name: popLast(): T;
New version: 10200011
@ohos.util.Deque.d.ts
Error code changed Class name: LinkedList;
Method or attribute name: insert(index: number, element: T): void;
Old version: If
Class name: LinkedList;
Method or attribute name: insert(index: number, element: T): void;
New version: 10200011,401,10200001
@ohos.util.LinkedList.d.ts
Error code changed Class name: LinkedList;
Method or attribute name: removeFirst(): T;
Old version: NoSuchElementException
Class name: LinkedList;
Method or attribute name: removeFirst(): T;
New version: 10200011,10200010
@ohos.util.LinkedList.d.ts
Error code changed Class name: LinkedList;
Method or attribute name: removeLast(): T;
Old version: NoSuchElementException
Class name: LinkedList;
Method or attribute name: removeLast(): T;
New version: 10200011,10200010
@ohos.util.LinkedList.d.ts
Error code changed Class name: List;
Method or attribute name: insert(element: T, index: number): void;
Old version: If
Class name: List;
Method or attribute name: insert(element: T, index: number): void;
New version: 10200011,10200001,401
@ohos.util.List.d.ts
Error code changed Class name: List;
Method or attribute name: getSubList(fromIndex: number, toIndex: number): List<T>;
Old version: If
Class name: List;
Method or attribute name: getSubList(fromIndex: number, toIndex: number): List<T>;
New version: 10200011,10200001,401
@ohos.util.List.d.ts
Error code changed Class name: PlainArray;
Method or attribute name: add(key: number, value: T): void;
Old version: Throws
Class name: PlainArray;
Method or attribute name: add(key: number, value: T): void;
New version: 10200011,401
@ohos.util.PlainArray.d.ts
Error code changed Class name: Queue;
Method or attribute name: getFirst(): T;
Old version: an
Class name: Queue;
Method or attribute name: getFirst(): T;
New version: 10200011
@ohos.util.Queue.d.ts
Error code changed Class name: Queue;
Method or attribute name: pop(): T;
Old version: an
Class name: Queue;
Method or attribute name: pop(): T;
New version: 10200011
@ohos.util.Queue.d.ts
Access level changed Class name: ChildProcess;
Method or attribute name: export interface ChildProcess
Old version:
Class name: ChildProcess;
Method or attribute name: export interface ChildProcess
New version: systemapi
@ohos.process.d.ts
Function changed Class name: process;
Method or attribute name: function runCmd(command: string,

options?: { timeout : number, killSignal : number |string, maxBuffer : number }): ChildProcess;
Class name: process;
Method or attribute name: function runCmd(command: string,

options?: { timeout?: number, killSignal?: number |string, maxBuffer?: number }): ChildProcess;
@ohos.process.d.ts
Function changed Class name: URLSearchParams;
Method or attribute name: forEach(callbackfn: (value: string, key: string, searchParams: this) => void, thisArg?: Object): void;
Class name: URLSearchParams;
Method or attribute name: forEach(callbackFn: (value: string, key: string, searchParams: this) => void, thisArg?: Object): void;
@ohos.url.d.ts
Function changed Class name: ArrayList;
Method or attribute name: replaceAllElements(callbackfn: (value: T, index?: number, arrlist?: ArrayList<T>) => T,

thisArg?: Object): void;
Class name: ArrayList;
Method or attribute name: replaceAllElements(callbackFn: (value: T, index?: number, arrlist?: ArrayList<T>) => T,

thisArg?: Object): void;
@ohos.util.ArrayList.d.ts
Function changed Class name: ArrayList;
Method or attribute name: forEach(callbackfn: (value: T, index?: number, arrlist?: ArrayList<T>) => void,

thisArg?: Object): void;
Class name: ArrayList;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, arrlist?: ArrayList<T>) => void,

thisArg?: Object): void;
@ohos.util.ArrayList.d.ts
Function changed Class name: Deque;
Method or attribute name: forEach(callbackfn: (value: T, index?: number, deque?: Deque<T>) => void,

thisArg?: Object): void;
Class name: Deque;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, deque?: Deque<T>) => void,

thisArg?: Object): void;
@ohos.util.Deque.d.ts
Function changed Class name: HashMap;
Method or attribute name: forEach(callbackfn: (value?: V, key?: K, map?: HashMap<K, V>) => void,

thisArg?: Object): void;
Class name: HashMap;
Method or attribute name: forEach(callbackFn: (value?: V, key?: K, map?: HashMap<K, V>) => void,

thisArg?: Object): void;
@ohos.util.HashMap.d.ts
Function changed Class name: HashSet;
Method or attribute name: forEach(callbackfn: (value?: T, key?: T, set?: HashSet<T>) => void,

thisArg?: Object): void;
Class name: HashSet;
Method or attribute name: forEach(callbackFn: (value?: T, key?: T, set?: HashSet<T>) => void,

thisArg?: Object): void;
@ohos.util.HashSet.d.ts
Function changed Class name: LightWeightMap;
Method or attribute name: forEach(callbackfn: (value?: V, key?: K, map?: LightWeightMap<K, V>) => void,

thisArg?: Object): void;
Class name: LightWeightMap;
Method or attribute name: forEach(callbackFn: (value?: V, key?: K, map?: LightWeightMap<K, V>) => void,

thisArg?: Object): void;
@ohos.util.LightWeightMap.d.ts
Function changed Class name: LightWeightSet;
Method or attribute name: forEach(callbackfn: (value?: T, key?: T, set?: LightWeightSet<T>) => void,

thisArg?: Object): void;
Class name: LightWeightSet;
Method or attribute name: forEach(callbackFn: (value?: T, key?: T, set?: LightWeightSet<T>) => void,

thisArg?: Object): void;
@ohos.util.LightWeightSet.d.ts
Function changed Class name: LinkedList;
Method or attribute name: forEach(callbackfn: (value: T, index?: number, LinkedList?: LinkedList<T>) => void,

thisArg?: Object): void;
Class name: LinkedList;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, LinkedList?: LinkedList<T>) => void,

thisArg?: Object): void;
@ohos.util.LinkedList.d.ts
Function changed Class name: List;
Method or attribute name: forEach(callbackfn: (value: T, index?: number, List?: List<T>) => void,

thisArg?: Object): void;
Class name: List;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, List?: List<T>) => void,

thisArg?: Object): void;
@ohos.util.List.d.ts
Function changed Class name: List;
Method or attribute name: replaceAllElements(callbackfn: (value: T, index?: number, list?: List<T>) => T,

thisArg?: Object): void;
Class name: List;
Method or attribute name: replaceAllElements(callbackFn: (value: T, index?: number, list?: List<T>) => T,

thisArg?: Object): void;
@ohos.util.List.d.ts
Function changed Class name: PlainArray;
Method or attribute name: forEach(callbackfn: (value: T, index?: number, PlainArray?: PlainArray<T>) => void,

thisArg?: Object): void;
Class name: PlainArray;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, PlainArray?: PlainArray<T>) => void,

thisArg?: Object): void;
@ohos.util.PlainArray.d.ts
Function changed Class name: Queue;
Method or attribute name: forEach(callbackfn: (value: T, index?: number, Queue?: Queue<T>) => void,

thisArg?: Object): void;
Class name: Queue;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, Queue?: Queue<T>) => void,

thisArg?: Object): void;
@ohos.util.Queue.d.ts
Function changed Class name: Stack;
Method or attribute name: forEach(callbackfn: (value: T, index?: number, stack?: Stack<T>) => void,

thisArg?: Object): void;
Class name: Stack;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, stack?: Stack<T>) => void,

thisArg?: Object): void;
@ohos.util.Stack.d.ts
Function changed Class name: TreeMap;
Method or attribute name: forEach(callbackfn: (value?: V, key?: K, map?: TreeMap<K, V>) => void,

thisArg?: Object): void;
Class name: TreeMap;
Method or attribute name: forEach(callbackFn: (value?: V, key?: K, map?: TreeMap<K, V>) => void,

thisArg?: Object): void;
@ohos.util.TreeMap.d.ts
Function changed Class name: TreeSet;
Method or attribute name: forEach(callbackfn: (value?: T, key?: T, set?: TreeSet<T>) => void,

thisArg?: Object): void;
Class name: TreeSet;
Method or attribute name: forEach(callbackFn: (value?: T, key?: T, set?: TreeSet<T>) => void,

thisArg?: Object): void;
@ohos.util.TreeSet.d.ts
Function changed Class name: Vector;
Method or attribute name: replaceAllElements(callbackfn: (value: T, index?: number, vector?: Vector<T>) => T,

thisArg?: Object): void;
Class name: Vector;
Method or attribute name: replaceAllElements(callbackFn: (value: T, index?: number, vector?: Vector<T>) => T,

thisArg?: Object): void;
@ohos.util.Vector.d.ts
Function changed Class name: Vector;
Method or attribute name: forEach(callbackfn: (value: T, index?: number, vector?: Vector<T>) => void,

thisArg?: Object): void;
Class name: Vector;
Method or attribute name: forEach(callbackFn: (value: T, index?: number, vector?: Vector<T>) => void,

thisArg?: Object): void;
@ohos.util.Vector.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-customization

0  赞