Change Type | Old Version | New Version | d.ts File |
---|---|---|---|
Added | NA | Class name: ConditionType; Method or attribute name: timeout?: number; |
@ohos.process.d.ts |
Added | NA | Class name: ConditionType; Method or attribute name: killSignal?: number | string; |
@ohos.process.d.ts |
Added | NA | Class name: ConditionType; Method or attribute name: maxBuffer?: number; |
@ohos.process.d.ts |
Added | NA | Class name: taskpool; Method or attribute name: function execute(group: TaskGroup, priority?: Priority): Promise<unknown[]>; |
@ohos.taskpool.d.ts |
Added | NA | Class name: taskpool; Method or attribute name: function cancel(group: TaskGroup): void; |
@ohos.taskpool.d.ts |
Added | NA | Class name: taskpool; Method or attribute name: function getTaskPoolInfo(): TaskPoolInfo; |
@ohos.taskpool.d.ts |
Added | NA | Class name: Task; Method or attribute name: static isCanceled(): boolean; |
@ohos.taskpool.d.ts |
Added | NA | Class name: Task; Method or attribute name: setTransferList(transfer?: ArrayBuffer[]): void; |
@ohos.taskpool.d.ts |
Added | NA | Class name: TaskGroup; Method or attribute name: constructor(); |
@ohos.taskpool.d.ts |
Added | NA | Class name: TaskGroup; Method or attribute name: addTask(func: Function, ...args: unknown[]): void; |
@ohos.taskpool.d.ts |
Added | NA | Class name: TaskGroup; Method or attribute name: addTask(task: Task): void; |
@ohos.taskpool.d.ts |
Added | NA | Class name: State; Method or attribute name: WAITING = 1 |
@ohos.taskpool.d.ts |
Added | NA | Class name: State; Method or attribute name: RUNNING = 2 |
@ohos.taskpool.d.ts |
Added | NA | Class name: State; Method or attribute name: CANCELED = 3 |
@ohos.taskpool.d.ts |
Added | NA | Class name: TaskInfo; Method or attribute name: taskId: number; |
@ohos.taskpool.d.ts |
Added | NA | Class name: TaskInfo; Method or attribute name: state: State; |
@ohos.taskpool.d.ts |
Added | NA | Class name: TaskInfo; Method or attribute name: duration?: number; |
@ohos.taskpool.d.ts |
Added | NA | Class name: ThreadInfo; Method or attribute name: tid: number; |
@ohos.taskpool.d.ts |
Added | NA | Class name: ThreadInfo; Method or attribute name: taskIds?: number[]; |
@ohos.taskpool.d.ts |
Added | NA | Class name: ThreadInfo; Method or attribute name: priority?: Priority; |
@ohos.taskpool.d.ts |
Added | NA | Class name: TaskPoolInfo; Method or attribute name: threadInfos: ThreadInfo[]; |
@ohos.taskpool.d.ts |
Added | NA | Class name: TaskPoolInfo; Method or attribute name: taskInfos: TaskInfo[]; |
@ohos.taskpool.d.ts |
Added | NA | Class name: Type; Method or attribute name: BASIC |
@ohos.util.d.ts |
Added | NA | Class name: Type; Method or attribute name: MIME |
@ohos.util.d.ts |
Error code added | Class name: WorkerEventListener; Method or attribute name: (event: Event): void | Promise<void>; Old version information: |
Class name: WorkerEventListener; Method or attribute name: (event: Event): void | Promise<void>; New version information: 401,10200004,10200005 |
@ohos.worker.d.ts |
Error code added | Class name: ThreadWorkerGlobalScope; Method or attribute name: onmessage?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void; Old version information: |
Class name: ThreadWorkerGlobalScope; Method or attribute name: onmessage?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void; New version information: 401,10200004,10200005 |
@ohos.worker.d.ts |
Error code added | Class name: ThreadWorkerGlobalScope; Method or attribute name: onmessageerror?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void; Old version information: |
Class name: ThreadWorkerGlobalScope; Method or attribute name: onmessageerror?: (this: ThreadWorkerGlobalScope, ev: MessageEvents) => void; New version information: 401,10200004,10200005 |
@ohos.worker.d.ts |
Error code added | Class name: ThreadWorker; Method or attribute name: onexit?: (code: number) => void; Old version information: |
Class name: ThreadWorker; Method or attribute name: onexit?: (code: number) => void; New version information: 401,10200004,10200005 |
@ohos.worker.d.ts |
Error code added | Class name: ThreadWorker; Method or attribute name: onerror?: (err: ErrorEvent) => void; Old version information: |
Class name: ThreadWorker; Method or attribute name: onerror?: (err: ErrorEvent) => void; New version information: 401,10200004,10200005 |
@ohos.worker.d.ts |
Error code added | Class name: ThreadWorker; Method or attribute name: onmessage?: (event: MessageEvents) => void; Old version information: |
Class name: ThreadWorker; Method or attribute name: onmessage?: (event: MessageEvents) => void; New version information: 401,10200004,10200005 |
@ohos.worker.d.ts |
Error code added | Class name: ThreadWorker; Method or attribute name: onmessageerror?: (event: MessageEvents) => void; Old version information: |
Class name: ThreadWorker; Method or attribute name: onmessageerror?: (event: MessageEvents) => void; New version information: 401,10200004,10200005 |
@ohos.worker.d.ts |
Error code changed | Class name: taskpool; Method or attribute name: function cancel(task: Task): void; Old version information: 401,10200015,10200016 |
Class name: taskpool; Method or attribute name: function cancel(task: Task): void; New version information: 401,10200015 |
@ohos.taskpool.d.ts |
Error code changed | Class name: Vector; Method or attribute name: insert(element: T, index: number): void; Old version information: If |
Class name: Vector; Method or attribute name: insert(element: T, index: number): void; New version information: |
@ohos.util.Vector.d.ts |
Error code changed | Class name: Vector; Method or attribute name: removeByRange(fromIndex: number, toIndex: number): void; Old version information: If |
Class name: Vector; Method or attribute name: removeByRange(fromIndex: number, toIndex: number): void; New version information: |
@ohos.util.Vector.d.ts |
Error code changed | Class name: Vector; Method or attribute name: subVector(fromIndex: number, toIndex: number): Vector<T>; Old version information: If |
Class name: Vector; Method or attribute name: subVector(fromIndex: number, toIndex: number): Vector<T>; New version information: |
@ohos.util.Vector.d.ts |
Error code changed | Class name: WorkerEventTarget; Method or attribute name: addEventListener(type: string, listener: WorkerEventListener): void; Old version information: 401,10200004 |
Class name: WorkerEventTarget; Method or attribute name: addEventListener(type: string, listener: WorkerEventListener): void; New version information: 401,10200004,10200005 |
@ohos.worker.d.ts |
Error code changed | Class name: ThreadWorker; Method or attribute name: addEventListener(type: string, listener: WorkerEventListener): void; Old version information: 401,10200004 |
Class name: ThreadWorker; Method or attribute name: addEventListener(type: string, listener: WorkerEventListener): void; New version information: 401,10200004,10200005 |
@ohos.worker.d.ts |
Error code changed | Class name: ThreadWorker; Method or attribute name: on(type: string, listener: WorkerEventListener): void; Old version information: 401,10200004 |
Class name: ThreadWorker; Method or attribute name: on(type: string, listener: WorkerEventListener): void; New version information: 401,10200004,10200005 |
@ohos.worker.d.ts |
Error code changed | Class name: ThreadWorker; Method or attribute name: once(type: string, listener: WorkerEventListener): void; Old version information: 401,10200004 |
Class name: ThreadWorker; Method or attribute name: once(type: string, listener: WorkerEventListener): void; New version information: 401,10200004,10200005 |
@ohos.worker.d.ts |
Error code changed | Class name: ThreadWorker; Method or attribute name: off(type: string, listener?: WorkerEventListener): void; Old version information: 401,10200004 |
Class name: ThreadWorker; Method or attribute name: off(type: string, listener?: WorkerEventListener): void; New version information: 401,10200004,10200005 |
@ohos.worker.d.ts |
Type changed | Class name: Task; Method or attribute name: arguments?: unknown[]; Old version information: |
Class name: Task; Method or attribute name: arguments?: unknown[]; New version information: ?unknown[] |
@ohos.taskpool.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?: ConditionType ): ChildProcess; |
@ohos.process.d.ts |
Function changed | Class name: Priority; Method or attribute name: HIGH |
Class name: Priority; Method or attribute name: HIGH = 0 |
@ohos.taskpool.d.ts |
Function changed | Class name: Priority; Method or attribute name: MEDIUM |
Class name: Priority; Method or attribute name: MEDIUM = 1 |
@ohos.taskpool.d.ts |
Function changed | Class name: Priority; Method or attribute name: LOW |
Class name: Priority; Method or attribute name: LOW = 2 |
@ohos.taskpool.d.ts |
Function changed | Class name: Base64Helper; Method or attribute name: encodeToStringSync(src: Uint8Array): string; |
Class name: Base64Helper; Method or attribute name: encodeToStringSync(src: Uint8Array, options?: Type): string; |
@ohos.util.d.ts |
Function changed | Class name: Base64Helper; Method or attribute name: decodeSync(src: Uint8Array | string): Uint8Array; |
Class name: Base64Helper; Method or attribute name: decodeSync(src: Uint8Array | string, options?: Type): Uint8Array; |
@ohos.util.d.ts |
Function changed | Class name: Base64Helper; Method or attribute name: encodeToString(src: Uint8Array): Promise<string>; |
Class name: Base64Helper; Method or attribute name: encodeToString(src: Uint8Array, options?: Type): Promise<string>; |
@ohos.util.d.ts |
Function changed | Class name: Base64Helper; Method or attribute name: decode(src: Uint8Array | string): Promise<Uint8Array>; |
Class name: Base64Helper; Method or attribute name: decode(src: Uint8Array | string, options?: Type): Promise<Uint8Array>; |
@ohos.util.d.ts |