harmony 鸿蒙js-apidiff-misc

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

Change Type Old Version New Version d.ts File
Deleted Class name: inputMethod;
Method or attribute name: function getInputMethodSetting(): InputMethodSetting;
NA @ohos.inputmethod.d.ts
Deleted Class name: inputMethod;
Method or attribute name: function getInputMethodController(): InputMethodController;
NA @ohos.inputmethod.d.ts
Deleted Class name: InputMethodSetting;
Method or attribute name: listInputMethod(callback: AsyncCallback<Array<InputMethodProperty>>): void;
NA @ohos.inputmethod.d.ts
Deleted Class name: InputMethodSetting;
Method or attribute name: listInputMethod(): Promise<Array<InputMethodProperty>>;
NA @ohos.inputmethod.d.ts
Deleted Class name: InputMethodSetting;
Method or attribute name: displayOptionalInputMethod(callback: AsyncCallback<void>): void;
NA @ohos.inputmethod.d.ts
Deleted Class name: InputMethodSetting;
Method or attribute name: displayOptionalInputMethod(): Promise<void>;
NA @ohos.inputmethod.d.ts
Deleted Class name: InputMethodController;
Method or attribute name: stopInput(callback: AsyncCallback<boolean>): void;
NA @ohos.inputmethod.d.ts
Deleted Class name: InputMethodController;
Method or attribute name: stopInput(): Promise<boolean>;
NA @ohos.inputmethod.d.ts
Deleted Class name: InputMethodProperty;
Method or attribute name: readonly packageName: string;
NA @ohos.inputmethod.d.ts
Deleted Class name: InputMethodProperty;
Method or attribute name: readonly methodId: string;
NA @ohos.inputmethod.d.ts
Deleted Class name: inputMethodEngine;
Method or attribute name: function getInputMethodEngine(): InputMethodEngine;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: inputMethodEngine;
Method or attribute name: function createKeyboardDelegate(): KeyboardDelegate;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: KeyboardController;
Method or attribute name: hideKeyboard(callback: AsyncCallback<void>): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: KeyboardController;
Method or attribute name: hideKeyboard(): Promise<void>;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: InputMethodEngine;
Method or attribute name: on(type: ‘inputStart’, callback: (kbController: KeyboardController, textInputClient: TextInputClient) => void): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: InputMethodEngine;
Method or attribute name: on(type: ‘keyboardShow’|‘keyboardHide’, callback: () => void): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: InputMethodEngine;
Method or attribute name: off(type: ‘inputStart’, callback?: (kbController: KeyboardController, textInputClient: TextInputClient) => void): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: InputMethodEngine;
Method or attribute name: off(type: ‘keyboardShow’|‘keyboardHide’, callback?: () => void): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: TextInputClient;
Method or attribute name: sendKeyFunction(action: number, callback: AsyncCallback<boolean>): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: TextInputClient;
Method or attribute name: sendKeyFunction(action: number): Promise<boolean>;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: TextInputClient;
Method or attribute name: deleteForward(length: number, callback: AsyncCallback<boolean>): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: TextInputClient;
Method or attribute name: deleteForward(length: number): Promise<boolean>;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: TextInputClient;
Method or attribute name: deleteBackward(length: number, callback: AsyncCallback<boolean>): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: TextInputClient;
Method or attribute name: deleteBackward(length: number): Promise<boolean>;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: TextInputClient;
Method or attribute name: insertText(text: string, callback: AsyncCallback<boolean>): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: TextInputClient;
Method or attribute name: insertText(text: string): Promise<boolean>;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: TextInputClient;
Method or attribute name: getForward(length: number, callback: AsyncCallback<string>): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: TextInputClient;
Method or attribute name: getForward(length: number): Promise<string>;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: TextInputClient;
Method or attribute name: getBackward(length: number, callback: AsyncCallback<string>): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: TextInputClient;
Method or attribute name: getBackward(length: number): Promise<string>;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: TextInputClient;
Method or attribute name: getEditorAttribute(callback: AsyncCallback<EditorAttribute>): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: TextInputClient;
Method or attribute name: getEditorAttribute(): Promise<EditorAttribute>;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: KeyboardDelegate;
Method or attribute name: on(type: ‘keyDown’|‘keyUp’, callback: (event: KeyEvent) => boolean): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: KeyboardDelegate;
Method or attribute name: on(type: ‘cursorContextChange’, callback: (x: number, y: number, height: number) => void): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: KeyboardDelegate;
Method or attribute name: on(type: ‘selectionChange’, callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => void): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: KeyboardDelegate;
Method or attribute name: on(type: ‘textChange’, callback: (text: string) => void): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: KeyboardDelegate;
Method or attribute name: off(type: ‘keyDown’|‘keyUp’, callback?: (event: KeyEvent) => boolean): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: KeyboardDelegate;
Method or attribute name: off(type: ‘cursorContextChange’, callback?: (x: number, y: number, height: number) => void): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: KeyboardDelegate;
Method or attribute name: off(type: ‘selectionChange’, callback?: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => void): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: KeyboardDelegate;
Method or attribute name: off(type: ‘textChange’, callback?: (text: string) => void): void;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: EditorAttribute;
Method or attribute name: readonly inputPattern: number;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: EditorAttribute;
Method or attribute name: readonly enterKeyType: number;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: KeyEvent;
Method or attribute name: readonly keyCode: number;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: KeyEvent;
Method or attribute name: readonly keyAction: number;
NA @ohos.inputmethodengine.d.ts
Deleted Class name: systemTime;
Method or attribute name: function getCurrentTime(isNano?: boolean, callback: AsyncCallback<number>): void;
NA @ohos.systemTime.d.ts
Deleted Class name: systemTime;
Method or attribute name: function getRealActiveTime(isNano?: boolean, callback: AsyncCallback<number>): void;
NA @ohos.systemTime.d.ts
Deleted Class name: systemTime;
Method or attribute name: function getRealTime(isNano?: boolean, callback: AsyncCallback<number>): void;
NA @ohos.systemTime.d.ts
Deleted Class name: wallpaper;
Method or attribute name: function screenshotLiveWallpaper(scale: number, pixelFormat: image.PixelMapFormat, callback: AsyncCallback<image.PixelMap>): void;
NA @ohos.wallpaper.d.ts
Deleted Class name: wallpaper;
Method or attribute name: function screenshotLiveWallpaper(scale: number, pixelFormat: image.PixelMapFormat): Promise<image.PixelMap>;
NA @ohos.wallpaper.d.ts
Added NA Class name: inputMethod;
Method or attribute name: function getInputMethodSetting(): InputMethodSetting;
@ohos.inputMethod.d.ts
Added NA Class name: inputMethod;
Method or attribute name: function getInputMethodController(): InputMethodController;
@ohos.inputMethod.d.ts
Added NA Class name: inputMethod;
Method or attribute name: function getSetting(): InputMethodSetting;
@ohos.inputMethod.d.ts
Added NA Class name: inputMethod;
Method or attribute name: function getController(): InputMethodController;
@ohos.inputMethod.d.ts
Added NA Class name: inputMethod;
Method or attribute name: function switchInputMethod(target: InputMethodProperty, callback: AsyncCallback<boolean>): void;
@ohos.inputMethod.d.ts
Added NA Class name: inputMethod;
Method or attribute name: function switchInputMethod(target: InputMethodProperty): Promise<boolean>;
@ohos.inputMethod.d.ts
Added NA Class name: inputMethod;
Method or attribute name: function getCurrentInputMethod(): InputMethodProperty;
@ohos.inputMethod.d.ts
Added NA Class name: inputMethod;
Method or attribute name: function switchCurrentInputMethodSubtype(target: InputMethodSubtype, callback: AsyncCallback<boolean>): void;
@ohos.inputMethod.d.ts
Added NA Class name: inputMethod;
Method or attribute name: function switchCurrentInputMethodSubtype(target: InputMethodSubtype): Promise<boolean>;
@ohos.inputMethod.d.ts
Added NA Class name: inputMethod;
Method or attribute name: function getCurrentInputMethodSubtype(): InputMethodSubtype;
@ohos.inputMethod.d.ts
Added NA Class name: inputMethod;
Method or attribute name: function switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype, callback: AsyncCallback<boolean>): void;
@ohos.inputMethod.d.ts
Added NA Class name: inputMethod;
Method or attribute name: function switchCurrentInputMethodAndSubtype(inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype): Promise<boolean>;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodSetting;
Method or attribute name: on(type: ‘imeChange’, callback: (inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodSetting;
Method or attribute name: off(type: ‘imeChange’, callback?: (inputMethodProperty: InputMethodProperty, inputMethodSubtype: InputMethodSubtype) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodSetting;
Method or attribute name: listInputMethodSubtype(inputMethodProperty: InputMethodProperty, callback: AsyncCallback<Array<InputMethodSubtype>>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodSetting;
Method or attribute name: listInputMethodSubtype(inputMethodProperty: InputMethodProperty): Promise<Array<InputMethodSubtype>>;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodSetting;
Method or attribute name: listCurrentInputMethodSubtype(callback: AsyncCallback<Array<InputMethodSubtype>>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodSetting;
Method or attribute name: listCurrentInputMethodSubtype(): Promise<Array<InputMethodSubtype>>;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodSetting;
Method or attribute name: getInputMethods(enable: boolean, callback: AsyncCallback<Array<InputMethodProperty>>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodSetting;
Method or attribute name: getInputMethods(enable: boolean): Promise<Array<InputMethodProperty>>;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodSetting;
Method or attribute name: listInputMethod(callback: AsyncCallback<Array<InputMethodProperty>>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodSetting;
Method or attribute name: listInputMethod(): Promise<Array<InputMethodProperty>>;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodSetting;
Method or attribute name: showOptionalInputMethods(callback: AsyncCallback<boolean>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodSetting;
Method or attribute name: showOptionalInputMethods(): Promise<boolean>;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodSetting;
Method or attribute name: displayOptionalInputMethod(callback: AsyncCallback<void>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodSetting;
Method or attribute name: displayOptionalInputMethod(): Promise<void>;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: stopInputSession(callback: AsyncCallback<boolean>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: stopInputSession(): Promise<boolean>;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: stopInput(callback: AsyncCallback<boolean>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: stopInput(): Promise<boolean>;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: showSoftKeyboard(callback: AsyncCallback<void>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: showSoftKeyboard():Promise<void>;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: hideSoftKeyboard(callback: AsyncCallback<void>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: hideSoftKeyboard():Promise<void>;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodProperty;
Method or attribute name: readonly packageName: string;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodProperty;
Method or attribute name: readonly methodId: string;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodProperty;
Method or attribute name: readonly name: string;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodProperty;
Method or attribute name: readonly id: string;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodProperty;
Method or attribute name: readonly label?: string;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodProperty;
Method or attribute name: readonly icon?: string;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodProperty;
Method or attribute name: readonly iconId?: number;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodProperty;
Method or attribute name: extra: object;
@ohos.inputMethod.d.ts
Added NA Class name: inputMethodEngine;
Method or attribute name: function getInputMethodAbility(): InputMethodAbility;
@ohos.inputMethodEngine.d.ts
Added NA Class name: inputMethodEngine;
Method or attribute name: function getInputMethodEngine(): InputMethodEngine;
@ohos.inputMethodEngine.d.ts
Added NA Class name: inputMethodEngine;
Method or attribute name: function getKeyboardDelegate(): KeyboardDelegate;
@ohos.inputMethodEngine.d.ts
Added NA Class name: inputMethodEngine;
Method or attribute name: function createKeyboardDelegate(): KeyboardDelegate;
@ohos.inputMethodEngine.d.ts
Added NA Class name: KeyboardController;
Method or attribute name: hide(callback: AsyncCallback<void>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: KeyboardController;
Method or attribute name: hide(): Promise<void>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: KeyboardController;
Method or attribute name: hideKeyboard(callback: AsyncCallback<void>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: KeyboardController;
Method or attribute name: hideKeyboard(): Promise<void>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputMethodEngine;
Method or attribute name: on(type: ‘inputStart’, callback: (kbController: KeyboardController, textInputClient: TextInputClient) => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputMethodEngine;
Method or attribute name: on(type: ‘keyboardShow’|‘keyboardHide’, callback: () => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputMethodAbility;
Method or attribute name: on(type: ‘keyboardShow’|‘keyboardHide’, callback: () => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputMethodEngine;
Method or attribute name: off(type: ‘inputStart’, callback?: (kbController: KeyboardController, textInputClient: TextInputClient) => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputMethodEngine;
Method or attribute name: off(type: ‘keyboardShow’|‘keyboardHide’, callback?: () => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputMethodAbility;
Method or attribute name: off(type: ‘keyboardShow’|‘keyboardHide’, callback?: () => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputMethodAbility;
Method or attribute name: on(type: ‘inputStart’, callback: (kbController: KeyboardController, inputClient: InputClient) => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputMethodAbility;
Method or attribute name: on(type: ‘inputStop’, callback: () => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputMethodAbility;
Method or attribute name: on(type: ‘setCallingWindow’, callback: (wid:number) => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputMethodAbility;
Method or attribute name: on(type: ‘setSubtype’, callback: (inputMethodSubtype: InputMethodSubtype) => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputMethodAbility;
Method or attribute name: off(type: ‘inputStart’, callback?: (kbController: KeyboardController, inputClient: InputClient) => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputMethodAbility;
Method or attribute name: off(type: ‘inputStop’, callback: () => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputMethodAbility;
Method or attribute name: off(type: ‘setCallingWindow’, callback: (wid:number) => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputMethodAbility;
Method or attribute name: off(type: ‘setSubtype’, callback?: (inputMethodSubtype: InputMethodSubtype) => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: TextInputClient;
Method or attribute name: sendKeyFunction(action: number, callback: AsyncCallback<boolean>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: sendKeyFunction(action: number, callback: AsyncCallback<boolean>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: TextInputClient;
Method or attribute name: sendKeyFunction(action: number): Promise<boolean>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: sendKeyFunction(action: number): Promise<boolean>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: TextInputClient;
Method or attribute name: deleteForward(length: number, callback: AsyncCallback<boolean>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: deleteForward(length: number, callback: AsyncCallback<boolean>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: TextInputClient;
Method or attribute name: deleteForward(length: number): Promise<boolean>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: deleteForward(length: number): Promise<boolean>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: TextInputClient;
Method or attribute name: deleteBackward(length: number, callback: AsyncCallback<boolean>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: deleteBackward(length: number, callback: AsyncCallback<boolean>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: TextInputClient;
Method or attribute name: deleteBackward(length: number): Promise<boolean>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: deleteBackward(length: number): Promise<boolean>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: TextInputClient;
Method or attribute name: insertText(text: string, callback: AsyncCallback<boolean>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: insertText(text: string, callback: AsyncCallback<boolean>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: TextInputClient;
Method or attribute name: insertText(text: string): Promise<boolean>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: insertText(text: string): Promise<boolean>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: TextInputClient;
Method or attribute name: getForward(length: number, callback: AsyncCallback<string>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: getForward(length: number, callback: AsyncCallback<string>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: TextInputClient;
Method or attribute name: getForward(length: number): Promise<string>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: getForward(length: number): Promise<string>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: TextInputClient;
Method or attribute name: getBackward(length: number, callback: AsyncCallback<string>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: getBackward(length: number, callback: AsyncCallback<string>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: TextInputClient;
Method or attribute name: getBackward(length: number): Promise<string>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: getBackward(length: number): Promise<string>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: TextInputClient;
Method or attribute name: getEditorAttribute(callback: AsyncCallback<EditorAttribute>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: getEditorAttribute(callback: AsyncCallback<EditorAttribute>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: TextInputClient;
Method or attribute name: getEditorAttribute(): Promise<EditorAttribute>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: getEditorAttribute(): Promise<EditorAttribute>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: moveCursor(direction: number, callback: AsyncCallback<void>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: moveCursor(direction: number): Promise<void>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: KeyboardDelegate;
Method or attribute name: on(type: ‘keyDown’|‘keyUp’, callback: (event: KeyEvent) => boolean): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: KeyboardDelegate;
Method or attribute name: on(type: ‘cursorContextChange’, callback: (x: number, y: number, height: number) => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: KeyboardDelegate;
Method or attribute name: on(type: ‘selectionChange’, callback: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: KeyboardDelegate;
Method or attribute name: on(type: ‘textChange’, callback: (text: string) => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: KeyboardDelegate;
Method or attribute name: off(type: ‘keyDown’|‘keyUp’, callback?: (event: KeyEvent) => boolean): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: KeyboardDelegate;
Method or attribute name: off(type: ‘cursorContextChange’, callback?: (x: number, y: number, height: number) => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: KeyboardDelegate;
Method or attribute name: off(type: ‘selectionChange’, callback?: (oldBegin: number, oldEnd: number, newBegin: number, newEnd: number) => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: KeyboardDelegate;
Method or attribute name: off(type: ‘textChange’, callback?: (text: string) => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: EditorAttribute;
Method or attribute name: readonly inputPattern: number;
@ohos.inputMethodEngine.d.ts
Added NA Class name: EditorAttribute;
Method or attribute name: readonly enterKeyType: number;
@ohos.inputMethodEngine.d.ts
Added NA Class name: KeyEvent;
Method or attribute name: readonly keyCode: number;
@ohos.inputMethodEngine.d.ts
Added NA Class name: KeyEvent;
Method or attribute name: readonly keyAction: number;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputMethodExtensionAbility;
Method or attribute name: context: InputMethodExtensionContext;
@ohos.InputMethodExtensionAbility.d.ts
Added NA Class name: InputMethodExtensionAbility;
Method or attribute name: onCreate(want: Want): void;
@ohos.InputMethodExtensionAbility.d.ts
Added NA Class name: InputMethodExtensionAbility;
Method or attribute name: onDestroy(): void;
@ohos.InputMethodExtensionAbility.d.ts
Added NA Class name: InputMethodExtensionContext;
Method or attribute name: destroy(callback: AsyncCallback<void>): void;
@ohos.InputMethodExtensionContext.d.ts
Added NA Class name: InputMethodExtensionContext;
Method or attribute name: destroy(): Promise<void>;
@ohos.InputMethodExtensionContext.d.ts
Added NA Class name: InputMethodSubtype;
Method or attribute name: readonly label?: string;
@ohos.InputMethodSubtype.d.ts
Added NA Class name: InputMethodSubtype;
Method or attribute name: readonly name: string;
@ohos.InputMethodSubtype.d.ts
Added NA Class name: InputMethodSubtype;
Method or attribute name: readonly id: string;
@ohos.InputMethodSubtype.d.ts
Added NA Class name: InputMethodSubtype;
Method or attribute name: readonly mode?: ‘upper’|‘lower’;
@ohos.InputMethodSubtype.d.ts
Added NA Class name: InputMethodSubtype;
Method or attribute name: readonly locale: string;
@ohos.InputMethodSubtype.d.ts
Added NA Class name: InputMethodSubtype;
Method or attribute name: readonly language: string;
@ohos.InputMethodSubtype.d.ts
Added NA Class name: InputMethodSubtype;
Method or attribute name: readonly icon?: string;
@ohos.InputMethodSubtype.d.ts
Added NA Class name: InputMethodSubtype;
Method or attribute name: readonly iconId?: number;
@ohos.InputMethodSubtype.d.ts
Added NA Class name: InputMethodSubtype;
Method or attribute name: extra: object;
@ohos.InputMethodSubtype.d.ts
Added NA Class name: pasteboard;
Method or attribute name: type ValueType = string |image.PixelMap |Want |ArrayBuffer;
@ohos.pasteboard.d.ts
Added NA Class name: pasteboard;
Method or attribute name: function createData(mimeType: string, value: ValueType): PasteData;
@ohos.pasteboard.d.ts
Added NA Class name: pasteboard;
Method or attribute name: function createRecord(mimeType: string, value: ValueType): PasteDataRecord;
@ohos.pasteboard.d.ts
Added NA Class name: ShareOption;
Method or attribute name: INAPP
@ohos.pasteboard.d.ts
Added NA Class name: ShareOption;
Method or attribute name: LOCALDEVICE
@ohos.pasteboard.d.ts
Added NA Class name: ShareOption;
Method or attribute name: CROSSDEVICE
@ohos.pasteboard.d.ts
Added NA Class name: PasteDataProperty;
Method or attribute name: shareOption: ShareOption;
@ohos.pasteboard.d.ts
Added NA Class name: PasteDataRecord;
Method or attribute name: pixelMap: image.PixelMap;
@ohos.pasteboard.d.ts
Added NA Class name: PasteDataRecord;
Method or attribute name: data: {

[mimeType: string]: ArrayBuffer

}
@ohos.pasteboard.d.ts
Added NA Class name: PasteDataRecord;
Method or attribute name: toPlainText(): string;
@ohos.pasteboard.d.ts
Added NA Class name: PasteData;
Method or attribute name: addRecord(mimeType: string, value: ValueType): void;
@ohos.pasteboard.d.ts
Added NA Class name: PasteData;
Method or attribute name: getPrimaryPixelMap(): image.PixelMap;
@ohos.pasteboard.d.ts
Added NA Class name: PasteData;
Method or attribute name: setProperty(property: PasteDataProperty): void;
@ohos.pasteboard.d.ts
Added NA Class name: PasteData;
Method or attribute name: getRecord(index: number): PasteDataRecord;
@ohos.pasteboard.d.ts
Added NA Class name: PasteData;
Method or attribute name: hasType(mimeType: string): boolean;
@ohos.pasteboard.d.ts
Added NA Class name: PasteData;
Method or attribute name: removeRecord(index: number): void;
@ohos.pasteboard.d.ts
Added NA Class name: PasteData;
Method or attribute name: replaceRecord(index: number, record: PasteDataRecord): void;
@ohos.pasteboard.d.ts
Added NA Class name: SystemPasteboard;
Method or attribute name: clearData(callback: AsyncCallback<void>): void;
@ohos.pasteboard.d.ts
Added NA Class name: SystemPasteboard;
Method or attribute name: clearData(): Promise<void>;
@ohos.pasteboard.d.ts
Added NA Class name: SystemPasteboard;
Method or attribute name: getData(callback: AsyncCallback<PasteData>): void;
@ohos.pasteboard.d.ts
Added NA Class name: SystemPasteboard;
Method or attribute name: getData(): Promise<PasteData>;
@ohos.pasteboard.d.ts
Added NA Class name: SystemPasteboard;
Method or attribute name: hasData(callback: AsyncCallback<boolean>): void;
@ohos.pasteboard.d.ts
Added NA Class name: SystemPasteboard;
Method or attribute name: hasData(): Promise<boolean>;
@ohos.pasteboard.d.ts
Added NA Class name: SystemPasteboard;
Method or attribute name: setData(data: PasteData, callback: AsyncCallback<void>): void;
@ohos.pasteboard.d.ts
Added NA Class name: SystemPasteboard;
Method or attribute name: setData(data: PasteData): Promise<void>;
@ohos.pasteboard.d.ts
Added NA Class name: request;
Method or attribute name: function downloadFile(context: BaseContext, config: DownloadConfig, callback: AsyncCallback<DownloadTask>): void;
@ohos.request.d.ts
Added NA Class name: request;
Method or attribute name: function downloadFile(context: BaseContext, config: DownloadConfig): Promise<DownloadTask>;
@ohos.request.d.ts
Added NA Class name: request;
Method or attribute name: function uploadFile(context: BaseContext, config: UploadConfig, callback: AsyncCallback<UploadTask>): void;
@ohos.request.d.ts
Added NA Class name: request;
Method or attribute name: function uploadFile(context: BaseContext, config: UploadConfig): Promise<UploadTask>;
@ohos.request.d.ts
Added NA Class name: DownloadConfig;
Method or attribute name: background?: boolean;
@ohos.request.d.ts
Added NA Class name: DownloadTask;
Method or attribute name: delete(callback: AsyncCallback<boolean>): void;
@ohos.request.d.ts
Added NA Class name: UploadTask;
Method or attribute name: delete(callback: AsyncCallback<boolean>): void;
@ohos.request.d.ts
Added NA Class name: DownloadTask;
Method or attribute name: delete(): Promise<boolean>;
@ohos.request.d.ts
Added NA Class name: UploadTask;
Method or attribute name: delete(): Promise<boolean>;
@ohos.request.d.ts
Added NA Class name: DownloadTask;
Method or attribute name: suspend(callback: AsyncCallback<boolean>): void;
@ohos.request.d.ts
Added NA Class name: DownloadTask;
Method or attribute name: suspend(): Promise<boolean>;
@ohos.request.d.ts
Added NA Class name: DownloadTask;
Method or attribute name: restore(callback: AsyncCallback<boolean>): void;
@ohos.request.d.ts
Added NA Class name: DownloadTask;
Method or attribute name: restore(): Promise<boolean>;
@ohos.request.d.ts
Added NA Class name: DownloadTask;
Method or attribute name: getTaskInfo(callback: AsyncCallback<DownloadInfo>): void;
@ohos.request.d.ts
Added NA Class name: DownloadTask;
Method or attribute name: getTaskInfo(): Promise<DownloadInfo>;
@ohos.request.d.ts
Added NA Class name: DownloadTask;
Method or attribute name: getTaskMimeType(callback: AsyncCallback<string>): void;
@ohos.request.d.ts
Added NA Class name: DownloadTask;
Method or attribute name: getTaskMimeType(): Promise<string>;
@ohos.request.d.ts
Added NA Class name: TaskState;
Method or attribute name: path: string;
@ohos.request.d.ts
Added NA Class name: TaskState;
Method or attribute name: responseCode: number;
@ohos.request.d.ts
Added NA Class name: TaskState;
Method or attribute name: message: string;
@ohos.request.d.ts
Added NA Class name: UploadTask;
Method or attribute name: on(type:‘complete’ |‘fail’, callback: Callback<Array<TaskState>>): void;
@ohos.request.d.ts
Added NA Class name: UploadTask;
Method or attribute name: off(type:‘complete’ |‘fail’, callback?: Callback<Array<TaskState>>): void;
@ohos.request.d.ts
Added NA Class name: screenLock;
Method or attribute name: function isLocked(): boolean;
@ohos.screenLock.d.ts
Added NA Class name: screenLock;
Method or attribute name: function unlock(callback: AsyncCallback<boolean>): void;
@ohos.screenLock.d.ts
Added NA Class name: screenLock;
Method or attribute name: function unlock():Promise<boolean>;
@ohos.screenLock.d.ts
Added NA Class name: screenLock;
Method or attribute name: function lock(callback: AsyncCallback<boolean>): void;
@ohos.screenLock.d.ts
Added NA Class name: screenLock;
Method or attribute name: function lock():Promise<boolean>;
@ohos.screenLock.d.ts
Added NA Class name: screenLock;
Method or attribute name: type EventType =

‘beginWakeUp’

|‘endWakeUp’

|‘beginScreenOn’

|‘endScreenOn’

|‘beginScreenOff’

|‘endScreenOff’

|‘unlockScreen’

|‘lockScreen’

|‘beginExitAnimation’

|‘beginSleep’

|‘endSleep’

|‘changeUser’

|‘screenlockEnabled’

|‘serviceRestart’
@ohos.screenLock.d.ts
Added NA Class name: screenLock;
Method or attribute name: function onSystemEvent(callback: Callback<SystemEvent>): boolean;
@ohos.screenLock.d.ts
Added NA Class name: screenLock;
Method or attribute name: function sendScreenLockEvent(event: String, parameter: number, callback: AsyncCallback<boolean>): void;
@ohos.screenLock.d.ts
Added NA Class name: screenLock;
Method or attribute name: function sendScreenLockEvent(event: String, parameter: number): Promise<boolean>;
@ohos.screenLock.d.ts
Added NA Class name: SystemEvent;
Method or attribute name: eventType: EventType,
@ohos.screenLock.d.ts
Added NA Class name: SystemEvent;
Method or attribute name: params: string
@ohos.screenLock.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function setTime(time : number, callback : AsyncCallback<void>) : void;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function setTime(time : number) : Promise<void>;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function getCurrentTime(isNano: boolean, callback: AsyncCallback<number>): void;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function getCurrentTime(callback: AsyncCallback<number>): void;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function getCurrentTime(isNano?: boolean): Promise<number>;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function getRealActiveTime(isNano: boolean, callback: AsyncCallback<number>): void;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function getRealActiveTime(callback: AsyncCallback<number>): void;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function getRealActiveTime(isNano?: boolean): Promise<number>;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function getRealTime(isNano: boolean, callback: AsyncCallback<number>): void;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function getRealTime(callback: AsyncCallback<number>): void;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function getRealTime(isNano?: boolean): Promise<number>;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function setDate(date: Date, callback: AsyncCallback<void>): void;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function setDate(date: Date): Promise<void>;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function getDate(callback: AsyncCallback<Date>): void;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function getDate(): Promise<Date>;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function setTimezone(timezone: string, callback: AsyncCallback<void>): void;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function setTimezone(timezone: string): Promise<void>;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function getTimezone(callback: AsyncCallback<string>): void;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function getTimezone(): Promise<string>;
@ohos.systemDateTime.d.ts
Added NA Class name: systemTime;
Method or attribute name: function getCurrentTime(isNano: boolean, callback: AsyncCallback<number>): void;
@ohos.systemTime.d.ts
Added NA Class name: systemTime;
Method or attribute name: function getCurrentTime(callback: AsyncCallback<number>): void;
@ohos.systemTime.d.ts
Added NA Class name: systemTime;
Method or attribute name: function getRealActiveTime(isNano: boolean, callback: AsyncCallback<number>): void;
@ohos.systemTime.d.ts
Added NA Class name: systemTime;
Method or attribute name: function getRealActiveTime(callback: AsyncCallback<number>): void;
@ohos.systemTime.d.ts
Added NA Class name: systemTime;
Method or attribute name: function getRealTime(isNano: boolean, callback: AsyncCallback<number>): void;
@ohos.systemTime.d.ts
Added NA Class name: systemTime;
Method or attribute name: function getRealTime(callback: AsyncCallback<number>): void;
@ohos.systemTime.d.ts
Added NA Class name: wallpaper;
Method or attribute name: function getColorsSync(wallpaperType: WallpaperType): Array<RgbaColor>;
@ohos.wallpaper.d.ts
Added NA Class name: wallpaper;
Method or attribute name: function getMinHeightSync(): number;
@ohos.wallpaper.d.ts
Added NA Class name: wallpaper;
Method or attribute name: function getMinWidthSync(): number;
@ohos.wallpaper.d.ts
Added NA Class name: wallpaper;
Method or attribute name: function restore(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void;
@ohos.wallpaper.d.ts
Added NA Class name: wallpaper;
Method or attribute name: function restore(wallpaperType: WallpaperType): Promise<void>;
@ohos.wallpaper.d.ts
Added NA Class name: wallpaper;
Method or attribute name: function setImage(source: string |image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void;
@ohos.wallpaper.d.ts
Added NA Class name: wallpaper;
Method or attribute name: function setImage(source: string |image.PixelMap, wallpaperType: WallpaperType): Promise<void>;
@ohos.wallpaper.d.ts
Added NA Class name: wallpaper;
Method or attribute name: function getImage(wallpaperType: WallpaperType, callback: AsyncCallback<image.PixelMap>): void;
@ohos.wallpaper.d.ts
Added NA Class name: wallpaper;
Method or attribute name: function getImage(wallpaperType: WallpaperType): Promise<image.PixelMap>;
@ohos.wallpaper.d.ts
Deprecated version changed Class name: pasteboard;
Method or attribute name: function createHtmlData(htmlText: string): PasteData;
Old version:
Class name: pasteboard;
Method or attribute name: function createHtmlData(htmlText: string): PasteData;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#createData
@ohos.pasteboard.d.ts
Deprecated version changed Class name: pasteboard;
Method or attribute name: function createWantData(want: Want): PasteData;
Old version:
Class name: pasteboard;
Method or attribute name: function createWantData(want: Want): PasteData;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#createData
@ohos.pasteboard.d.ts
Deprecated version changed Class name: pasteboard;
Method or attribute name: function createPlainTextData(text: string): PasteData;
Old version:
Class name: pasteboard;
Method or attribute name: function createPlainTextData(text: string): PasteData;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#createData
@ohos.pasteboard.d.ts
Deprecated version changed Class name: pasteboard;
Method or attribute name: function createUriData(uri: string): PasteData;
Old version:
Class name: pasteboard;
Method or attribute name: function createUriData(uri: string): PasteData;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#createData
@ohos.pasteboard.d.ts
Deprecated version changed Class name: pasteboard;
Method or attribute name: function createHtmlTextRecord(htmlText: string): PasteDataRecord;
Old version:
Class name: pasteboard;
Method or attribute name: function createHtmlTextRecord(htmlText: string): PasteDataRecord;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#createRecord
@ohos.pasteboard.d.ts
Deprecated version changed Class name: pasteboard;
Method or attribute name: function createWantRecord(want: Want): PasteDataRecord;
Old version:
Class name: pasteboard;
Method or attribute name: function createWantRecord(want: Want): PasteDataRecord;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#createRecord
@ohos.pasteboard.d.ts
Deprecated version changed Class name: pasteboard;
Method or attribute name: function createPlainTextRecord(text: string): PasteDataRecord;
Old version:
Class name: pasteboard;
Method or attribute name: function createPlainTextRecord(text: string): PasteDataRecord;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#createRecord
@ohos.pasteboard.d.ts
Deprecated version changed Class name: pasteboard;
Method or attribute name: function createUriRecord(uri: string): PasteDataRecord;
Old version:
Class name: pasteboard;
Method or attribute name: function createUriRecord(uri: string): PasteDataRecord;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#createRecord
@ohos.pasteboard.d.ts
Deprecated version changed Class name: PasteDataRecord;
Method or attribute name: convertToText(callback: AsyncCallback<string>): void;
Old version:
Class name: PasteDataRecord;
Method or attribute name: convertToText(callback: AsyncCallback<string>): void;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#convertToTextV9
@ohos.pasteboard.d.ts
Deprecated version changed Class name: PasteData;
Method or attribute name: addHtmlRecord(htmlText: string): void;
Old version:
Class name: PasteData;
Method or attribute name: addHtmlRecord(htmlText: string): void;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#addRecord
@ohos.pasteboard.d.ts
Deprecated version changed Class name: PasteData;
Method or attribute name: addWantRecord(want: Want): void;
Old version:
Class name: PasteData;
Method or attribute name: addWantRecord(want: Want): void;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#addRecord
@ohos.pasteboard.d.ts
Deprecated version changed Class name: PasteData;
Method or attribute name: addTextRecord(text: string): void;
Old version:
Class name: PasteData;
Method or attribute name: addTextRecord(text: string): void;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#addRecord
@ohos.pasteboard.d.ts
Deprecated version changed Class name: PasteData;
Method or attribute name: addUriRecord(uri: string): void;
Old version:
Class name: PasteData;
Method or attribute name: addUriRecord(uri: string): void;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#addRecord
@ohos.pasteboard.d.ts
Deprecated version changed Class name: PasteData;
Method or attribute name: getRecordAt(index: number): PasteDataRecord;
Old version:
Class name: PasteData;
Method or attribute name: getRecordAt(index: number): PasteDataRecord;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#getRecord
@ohos.pasteboard.d.ts
Deprecated version changed Class name: PasteData;
Method or attribute name: hasMimeType(mimeType: string): boolean;
Old version:
Class name: PasteData;
Method or attribute name: hasMimeType(mimeType: string): boolean;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#hasType
@ohos.pasteboard.d.ts
Deprecated version changed Class name: PasteData;
Method or attribute name: removeRecordAt(index: number): boolean;
Old version:
Class name: PasteData;
Method or attribute name: removeRecordAt(index: number): boolean;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#removeRecord
@ohos.pasteboard.d.ts
Deprecated version changed Class name: PasteData;
Method or attribute name: replaceRecordAt(index: number, record: PasteDataRecord): boolean;
Old version:
Class name: PasteData;
Method or attribute name: replaceRecordAt(index: number, record: PasteDataRecord): boolean;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#replaceRecord
@ohos.pasteboard.d.ts
Deprecated version changed Class name: SystemPasteboard;
Method or attribute name: clear(callback: AsyncCallback<void>): void;
Old version:
Class name: SystemPasteboard;
Method or attribute name: clear(callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#clearData
@ohos.pasteboard.d.ts
Deprecated version changed Class name: SystemPasteboard;
Method or attribute name: getPasteData(callback: AsyncCallback<PasteData>): void;
Old version:
Class name: SystemPasteboard;
Method or attribute name: getPasteData(callback: AsyncCallback<PasteData>): void;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#getData
@ohos.pasteboard.d.ts
Deprecated version changed Class name: SystemPasteboard;
Method or attribute name: hasPasteData(callback: AsyncCallback<boolean>): void;
Old version:
Class name: SystemPasteboard;
Method or attribute name: hasPasteData(callback: AsyncCallback<boolean>): void;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#hasData
@ohos.pasteboard.d.ts
Deprecated version changed Class name: SystemPasteboard;
Method or attribute name: setPasteData(data: PasteData, callback: AsyncCallback<void>): void;
Old version:
Class name: SystemPasteboard;
Method or attribute name: setPasteData(data: PasteData, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.pasteboard.pasteboard#setData
@ohos.pasteboard.d.ts
Deprecated version changed Class name: request;
Method or attribute name: function download(config: DownloadConfig, callback: AsyncCallback<DownloadTask>): void;
Old version:
Class name: request;
Method or attribute name: function download(config: DownloadConfig, callback: AsyncCallback<DownloadTask>): void;
New version: 9
Substitute API: ohos.request.downloadFile
@ohos.request.d.ts
Deprecated version changed Class name: request;
Method or attribute name: function download(config: DownloadConfig): Promise<DownloadTask>;
Old version:
Class name: request;
Method or attribute name: function download(config: DownloadConfig): Promise<DownloadTask>;
New version: 9,
Substitute API: ohos.request.downloadFile
@ohos.request.d.ts
Deprecated version changed Class name: request;
Method or attribute name: function upload(config: UploadConfig, callback: AsyncCallback<UploadTask>): void;
Old version:
Class name: request;
Method or attribute name: function upload(config: UploadConfig, callback: AsyncCallback<UploadTask>): void;
New version: 9
Substitute API: ohos.request.uploadFile
@ohos.request.d.ts
Deprecated version changed Class name: request;
Method or attribute name: function upload(config: UploadConfig): Promise<UploadTask>;
Old version:
Class name: request;
Method or attribute name: function upload(config: UploadConfig): Promise<UploadTask>;
New version: 9
Substitute API: ohos.request.uploadFile
@ohos.request.d.ts
Deprecated version changed Class name: DownloadTask;
Method or attribute name: remove(callback: AsyncCallback<boolean>): void;
Old version:
Class name: DownloadTask;
Method or attribute name: remove(callback: AsyncCallback<boolean>): void;
New version: 9
Substitute API: ohos.request.delete
@ohos.request.d.ts
Deprecated version changed Class name: UploadTask;
Method or attribute name: remove(callback: AsyncCallback<boolean>): void;
Old version:
Class name: UploadTask;
Method or attribute name: remove(callback: AsyncCallback<boolean>): void;
New version: 9
Substitute API: ohos.request.delete
@ohos.request.d.ts
Deprecated version changed Class name: DownloadTask;
Method or attribute name: remove(): Promise<boolean>;
Old version:
Class name: DownloadTask;
Method or attribute name: remove(): Promise<boolean>;
New version: 9
Substitute API: ohos.request.delete
@ohos.request.d.ts
Deprecated version changed Class name: UploadTask;
Method or attribute name: remove(): Promise<boolean>;
Old version:
Class name: UploadTask;
Method or attribute name: remove(): Promise<boolean>;
New version: 9
Substitute API: ohos.request.delete
@ohos.request.d.ts
Deprecated version changed Class name: DownloadTask;
Method or attribute name: pause(callback: AsyncCallback<void>): void;
Old version:
Class name: DownloadTask;
Method or attribute name: pause(callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.request.suspend
@ohos.request.d.ts
Deprecated version changed Class name: DownloadTask;
Method or attribute name: pause(): Promise<void>;
Old version:
Class name: DownloadTask;
Method or attribute name: pause(): Promise<void>;
New version: 9
Substitute API: ohos.request.suspend
@ohos.request.d.ts
Deprecated version changed Class name: DownloadTask;
Method or attribute name: resume(callback: AsyncCallback<void>): void;
Old version:
Class name: DownloadTask;
Method or attribute name: resume(callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.request.restore
@ohos.request.d.ts
Deprecated version changed Class name: DownloadTask;
Method or attribute name: resume(): Promise<void>;
Old version:
Class name: DownloadTask;
Method or attribute name: resume(): Promise<void>;
New version: 9
Substitute API: ohos.request.restore
@ohos.request.d.ts
Deprecated version changed Class name: DownloadTask;
Method or attribute name: query(callback: AsyncCallback<DownloadInfo>): void;
Old version:
Class name: DownloadTask;
Method or attribute name: query(callback: AsyncCallback<DownloadInfo>): void;
New version: 9
Substitute API: ohos.request.getTaskInfo
@ohos.request.d.ts
Deprecated version changed Class name: DownloadTask;
Method or attribute name: query(): Promise<DownloadInfo>;
Old version:
Class name: DownloadTask;
Method or attribute name: query(): Promise<DownloadInfo>;
New version: 9
Substitute API: ohos.request.getTaskInfo
@ohos.request.d.ts
Deprecated version changed Class name: DownloadTask;
Method or attribute name: queryMimeType(callback: AsyncCallback<string>): void;
Old version:
Class name: DownloadTask;
Method or attribute name: queryMimeType(callback: AsyncCallback<string>): void;
New version: 9
Substitute API: ohos.request.getTaskMimeType
@ohos.request.d.ts
Deprecated version changed Class name: DownloadTask;
Method or attribute name: queryMimeType(): Promise<string>;
Old version:
Class name: DownloadTask;
Method or attribute name: queryMimeType(): Promise<string>;
New version: 9
Substitute API: ohos.request.getTaskMimeType
@ohos.request.d.ts
Deprecated version changed Class name: screenLock;
Method or attribute name: function isScreenLocked(callback: AsyncCallback<boolean>): void;
Old version:
Class name: screenLock;
Method or attribute name: function isScreenLocked(callback: AsyncCallback<boolean>): void;
New version: 9
Substitute API:
@ohos.screenLock.d.ts
Deprecated version changed Class name: screenLock;
Method or attribute name: function isScreenLocked(): Promise<boolean>;
Old version:
Class name: screenLock;
Method or attribute name: function isScreenLocked(): Promise<boolean>;
New version: 9
Substitute API:
@ohos.screenLock.d.ts
Deprecated version changed Class name: screenLock;
Method or attribute name: function isSecureMode(callback: AsyncCallback<boolean>): void;
Old version:
Class name: screenLock;
Method or attribute name: function isSecureMode(callback: AsyncCallback<boolean>): void;
New version: 9
Substitute API:
@ohos.screenLock.d.ts
Deprecated version changed Class name: screenLock;
Method or attribute name: function isSecureMode(): Promise<boolean>;
Old version:
Class name: screenLock;
Method or attribute name: function isSecureMode(): Promise<boolean>;
New version: 9
Substitute API:
@ohos.screenLock.d.ts
Deprecated version changed Class name: screenLock;
Method or attribute name: function unlockScreen(callback: AsyncCallback<void>): void;
Old version:
Class name: screenLock;
Method or attribute name: function unlockScreen(callback: AsyncCallback<void>): void;
New version: 9
Substitute API:
@ohos.screenLock.d.ts
Deprecated version changed Class name: screenLock;
Method or attribute name: function unlockScreen():Promise<void>;
Old version:
Class name: screenLock;
Method or attribute name: function unlockScreen():Promise<void>;
New version: 9
Substitute API:
@ohos.screenLock.d.ts
Deprecated version changed Class name: systemTime;
Method or attribute name: declare systemTime
Old version:
Class name: systemTime;
Method or attribute name: declare systemTime
New version: 9
Substitute API: ohos.systemDateTime
@ohos.systemTime.d.ts
Deprecated version changed Class name: systemTime;
Method or attribute name: function setTime(time : number, callback : AsyncCallback<void>) : void;
Old version:
Class name: systemTime;
Method or attribute name: function setTime(time : number, callback : AsyncCallback<void>) : void;
New version: 9
Substitute API: ohos.systemDateTime
@ohos.systemTime.d.ts
Deprecated version changed Class name: systemTime;
Method or attribute name: function setTime(time : number) : Promise<void>;
Old version:
Class name: systemTime;
Method or attribute name: function setTime(time : number) : Promise<void>;
New version: 9
Substitute API: ohos.systemDateTime
@ohos.systemTime.d.ts
Deprecated version changed Class name: systemTime;
Method or attribute name: function getCurrentTime(isNano?: boolean): Promise<number>;
Old version:
Class name: systemTime;
Method or attribute name: function getCurrentTime(isNano?: boolean): Promise<number>;
New version: 9
Substitute API: ohos.systemDateTime/systemDateTime.getCurrentTime
@ohos.systemTime.d.ts
Deprecated version changed Class name: systemTime;
Method or attribute name: function getRealActiveTime(isNano?: boolean): Promise<number>;
Old version:
Class name: systemTime;
Method or attribute name: function getRealActiveTime(isNano?: boolean): Promise<number>;
New version: 9
Substitute API: ohos.systemDateTime/systemDateTime.getRealActiveTime
@ohos.systemTime.d.ts
Deprecated version changed Class name: systemTime;
Method or attribute name: function getRealTime(isNano?: boolean): Promise<number>;
Old version:
Class name: systemTime;
Method or attribute name: function getRealTime(isNano?: boolean): Promise<number>;
New version: 9
Substitute API: ohos.systemDateTime/systemDateTime.getRealTime
@ohos.systemTime.d.ts
Deprecated version changed Class name: systemTime;
Method or attribute name: function setDate(date: Date, callback: AsyncCallback<void>): void;
Old version:
Class name: systemTime;
Method or attribute name: function setDate(date: Date, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.systemDateTime
@ohos.systemTime.d.ts
Deprecated version changed Class name: systemTime;
Method or attribute name: function setDate(date: Date): Promise<void>;
Old version:
Class name: systemTime;
Method or attribute name: function setDate(date: Date): Promise<void>;
New version: 9
Substitute API: ohos.systemDateTime
@ohos.systemTime.d.ts
Deprecated version changed Class name: systemTime;
Method or attribute name: function getDate(callback: AsyncCallback<Date>): void;
Old version:
Class name: systemTime;
Method or attribute name: function getDate(callback: AsyncCallback<Date>): void;
New version: 9
Substitute API: ohos.systemDateTime/systemDateTime.getDate
@ohos.systemTime.d.ts
Deprecated version changed Class name: systemTime;
Method or attribute name: function getDate(): Promise<Date>;
Old version:
Class name: systemTime;
Method or attribute name: function getDate(): Promise<Date>;
New version: 9
Substitute API: ohos.systemDateTime/systemDateTime.getDate
@ohos.systemTime.d.ts
Deprecated version changed Class name: systemTime;
Method or attribute name: function setTimezone(timezone: string, callback: AsyncCallback<void>): void;
Old version:
Class name: systemTime;
Method or attribute name: function setTimezone(timezone: string, callback: AsyncCallback<void>): void;
New version: 9
Substitute API: ohos.systemDateTime
@ohos.systemTime.d.ts
Deprecated version changed Class name: systemTime;
Method or attribute name: function setTimezone(timezone: string): Promise<void>;
Old version:
Class name: systemTime;
Method or attribute name: function setTimezone(timezone: string): Promise<void>;
New version: 9
Substitute API: ohos.systemDateTime
@ohos.systemTime.d.ts
Deprecated version changed Class name: systemTime;
Method or attribute name: function getTimezone(callback: AsyncCallback<string>): void;
Old version:
Class name: systemTime;
Method or attribute name: function getTimezone(callback: AsyncCallback<string>): void;
New version: 9
Substitute API: ohos.systemDateTime/systemDateTime.getTimezone
@ohos.systemTime.d.ts
Deprecated version changed Class name: systemTime;
Method or attribute name: function getTimezone(): Promise<string>;
Old version:
Class name: systemTime;
Method or attribute name: function getTimezone(): Promise<string>;
New version: 9
Substitute API: ohos.systemDateTime/systemDateTime.getTimezone
@ohos.systemTime.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function getColors(wallpaperType: WallpaperType, callback: AsyncCallback<Array<RgbaColor>>): void;
Old version:
Class name: wallpaper;
Method or attribute name: function getColors(wallpaperType: WallpaperType, callback: AsyncCallback<Array<RgbaColor>>): void;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function getColors(wallpaperType: WallpaperType): Promise<Array<RgbaColor>>;
Old version:
Class name: wallpaper;
Method or attribute name: function getColors(wallpaperType: WallpaperType): Promise<Array<RgbaColor>>;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function getId(wallpaperType: WallpaperType, callback: AsyncCallback<number>): void;
Old version:
Class name: wallpaper;
Method or attribute name: function getId(wallpaperType: WallpaperType, callback: AsyncCallback<number>): void;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function getId(wallpaperType: WallpaperType): Promise<number>;
Old version:
Class name: wallpaper;
Method or attribute name: function getId(wallpaperType: WallpaperType): Promise<number>;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function getFile(wallpaperType: WallpaperType, callback: AsyncCallback<number>): void;
Old version:
Class name: wallpaper;
Method or attribute name: function getFile(wallpaperType: WallpaperType, callback: AsyncCallback<number>): void;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function getFile(wallpaperType: WallpaperType): Promise<number>;
Old version:
Class name: wallpaper;
Method or attribute name: function getFile(wallpaperType: WallpaperType): Promise<number>;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function getMinHeight(callback: AsyncCallback<number>): void;
Old version:
Class name: wallpaper;
Method or attribute name: function getMinHeight(callback: AsyncCallback<number>): void;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function getMinHeight(): Promise<number>;
Old version:
Class name: wallpaper;
Method or attribute name: function getMinHeight(): Promise<number>;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function getMinWidth(callback: AsyncCallback<number>): void;
Old version:
Class name: wallpaper;
Method or attribute name: function getMinWidth(callback: AsyncCallback<number>): void;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function getMinWidth(): Promise<number>;
Old version:
Class name: wallpaper;
Method or attribute name: function getMinWidth(): Promise<number>;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function isChangePermitted(callback: AsyncCallback<boolean>): void;
Old version:
Class name: wallpaper;
Method or attribute name: function isChangePermitted(callback: AsyncCallback<boolean>): void;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function isChangePermitted(): Promise<boolean>;
Old version:
Class name: wallpaper;
Method or attribute name: function isChangePermitted(): Promise<boolean>;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function isOperationAllowed(callback: AsyncCallback<boolean>): void;
Old version:
Class name: wallpaper;
Method or attribute name: function isOperationAllowed(callback: AsyncCallback<boolean>): void;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function isOperationAllowed(): Promise<boolean>;
Old version:
Class name: wallpaper;
Method or attribute name: function isOperationAllowed(): Promise<boolean>;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function reset(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void;
Old version:
Class name: wallpaper;
Method or attribute name: function reset(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function reset(wallpaperType: WallpaperType): Promise<void>;
Old version:
Class name: wallpaper;
Method or attribute name: function reset(wallpaperType: WallpaperType): Promise<void>;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function setWallpaper(source: string |image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void;
Old version:
Class name: wallpaper;
Method or attribute name: function setWallpaper(source: string |image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function setWallpaper(source: string |image.PixelMap, wallpaperType: WallpaperType): Promise<void>;
Old version:
Class name: wallpaper;
Method or attribute name: function setWallpaper(source: string |image.PixelMap, wallpaperType: WallpaperType): Promise<void>;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function getPixelMap(wallpaperType: WallpaperType, callback: AsyncCallback<image.PixelMap>): void;
Old version:
Class name: wallpaper;
Method or attribute name: function getPixelMap(wallpaperType: WallpaperType, callback: AsyncCallback<image.PixelMap>): void;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function getPixelMap(wallpaperType: WallpaperType): Promise<image.PixelMap>;
Old version:
Class name: wallpaper;
Method or attribute name: function getPixelMap(wallpaperType: WallpaperType): Promise<image.PixelMap>;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function on(type: ‘colorChange’, callback: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void;
Old version:
Class name: wallpaper;
Method or attribute name: function on(type: ‘colorChange’, callback: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper;
Method or attribute name: function off(type: ‘colorChange’, callback?: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void;
Old version:
Class name: wallpaper;
Method or attribute name: function off(type: ‘colorChange’, callback?: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: RgbaColor;
Method or attribute name: interface RgbaColor
Old version:
Class name: RgbaColor;
Method or attribute name: interface RgbaColor
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: RgbaColor;
Method or attribute name: red: number;
Old version:
Class name: RgbaColor;
Method or attribute name: red: number;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: RgbaColor;
Method or attribute name: green: number;
Old version:
Class name: RgbaColor;
Method or attribute name: green: number;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: RgbaColor;
Method or attribute name: blue: number;
Old version:
Class name: RgbaColor;
Method or attribute name: blue: number;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: RgbaColor;
Method or attribute name: alpha: number;
Old version:
Class name: RgbaColor;
Method or attribute name: alpha: number;
New version: 9
Substitute API:
@ohos.wallpaper.d.ts
Deprecated version changed Class name: UploadResponse;
Method or attribute name: export interface UploadResponse
Old version:
Class name: UploadResponse;
Method or attribute name: export interface UploadResponse
New version: 9,
Substitute API: ohos.request
@system.request.d.ts
Deprecated version changed Class name: UploadResponse;
Method or attribute name: code: number;
Old version:
Class name: UploadResponse;
Method or attribute name: code: number;
New version: 9
Substitute API: ohos.request
@system.request.d.ts
Deprecated version changed Class name: UploadResponse;
Method or attribute name: data: string;
Old version:
Class name: UploadResponse;
Method or attribute name: data: string;
New version: 9
Substitute API: ohos.request
@system.request.d.ts
Deprecated version changed Class name: UploadResponse;
Method or attribute name: headers: Object;
Old version:
Class name: UploadResponse;
Method or attribute name: headers: Object;
New version: 9
Substitute API: ohos.request
@system.request.d.ts
Deprecated version changed Class name: DownloadResponse;
Method or attribute name: export interface DownloadResponse
Old version:
Class name: DownloadResponse;
Method or attribute name: export interface DownloadResponse
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: DownloadResponse;
Method or attribute name: token: string;
Old version:
Class name: DownloadResponse;
Method or attribute name: token: string;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: OnDownloadCompleteOptions;
Method or attribute name: token: string;
Old version:
Class name: OnDownloadCompleteOptions;
Method or attribute name: token: string;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: OnDownloadCompleteResponse;
Method or attribute name: export interface OnDownloadCompleteResponse
Old version:
Class name: OnDownloadCompleteResponse;
Method or attribute name: export interface OnDownloadCompleteResponse
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: OnDownloadCompleteResponse;
Method or attribute name: uri: string;
Old version:
Class name: OnDownloadCompleteResponse;
Method or attribute name: uri: string;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: RequestFile;
Method or attribute name: uri: string;
Old version:
Class name: RequestFile;
Method or attribute name: uri: string;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: RequestFile;
Method or attribute name: export interface RequestFile
Old version:
Class name: RequestFile;
Method or attribute name: export interface RequestFile
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: RequestFile;
Method or attribute name: filename?: string;
Old version:
Class name: RequestFile;
Method or attribute name: filename?: string;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: DownloadRequestOptions;
Method or attribute name: filename?: string;
Old version:
Class name: DownloadRequestOptions;
Method or attribute name: filename?: string;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: RequestFile;
Method or attribute name: name?: string;
Old version:
Class name: RequestFile;
Method or attribute name: name?: string;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: RequestFile;
Method or attribute name: type?: string;
Old version:
Class name: RequestFile;
Method or attribute name: type?: string;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: RequestData;
Method or attribute name: export interface RequestData
Old version:
Class name: RequestData;
Method or attribute name: export interface RequestData
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: RequestData;
Method or attribute name: name: string;
Old version:
Class name: RequestData;
Method or attribute name: name: string;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: RequestData;
Method or attribute name: value: string;
Old version:
Class name: RequestData;
Method or attribute name: value: string;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: UploadRequestOptions;
Method or attribute name: export interface UploadRequestOptions
Old version:
Class name: UploadRequestOptions;
Method or attribute name: export interface UploadRequestOptions
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: UploadRequestOptions;
Method or attribute name: url: string;
Old version:
Class name: UploadRequestOptions;
Method or attribute name: url: string;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: DownloadRequestOptions;
Method or attribute name: url: string;
Old version:
Class name: DownloadRequestOptions;
Method or attribute name: url: string;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: UploadRequestOptions;
Method or attribute name: data?: Array<RequestData>;
Old version:
Class name: UploadRequestOptions;
Method or attribute name: data?: Array<RequestData>;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: UploadRequestOptions;
Method or attribute name: files: Array<RequestFile>;
Old version:
Class name: UploadRequestOptions;
Method or attribute name: files: Array<RequestFile>;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: UploadRequestOptions;
Method or attribute name: header?: Object;
Old version:
Class name: UploadRequestOptions;
Method or attribute name: header?: Object;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: UploadRequestOptions;
Method or attribute name: method?: string;
Old version:
Class name: UploadRequestOptions;
Method or attribute name: method?: string;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: UploadRequestOptions;
Method or attribute name: success?: (data: UploadResponse) => void;
Old version:
Class name: UploadRequestOptions;
Method or attribute name: success?: (data: UploadResponse) => void;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: UploadRequestOptions;
Method or attribute name: fail?: (data: any, code: number) => void;
Old version:
Class name: UploadRequestOptions;
Method or attribute name: fail?: (data: any, code: number) => void;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: DownloadRequestOptions;
Method or attribute name: fail?: (data: any, code: number) => void;
Old version:
Class name: DownloadRequestOptions;
Method or attribute name: fail?: (data: any, code: number) => void;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: OnDownloadCompleteOptions;
Method or attribute name: fail?: (data: any, code: number) => void;
Old version:
Class name: OnDownloadCompleteOptions;
Method or attribute name: fail?: (data: any, code: number) => void;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: UploadRequestOptions;
Method or attribute name: complete?: () => void;
Old version:
Class name: UploadRequestOptions;
Method or attribute name: complete?: () => void;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: DownloadRequestOptions;
Method or attribute name: complete?: () => void;
Old version:
Class name: DownloadRequestOptions;
Method or attribute name: complete?: () => void;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: OnDownloadCompleteOptions;
Method or attribute name: complete?: () => void;
Old version:
Class name: OnDownloadCompleteOptions;
Method or attribute name: complete?: () => void;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: DownloadRequestOptions;
Method or attribute name: export interface DownloadRequestOptions
Old version:
Class name: DownloadRequestOptions;
Method or attribute name: export interface DownloadRequestOptions
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: DownloadRequestOptions;
Method or attribute name: header?: string;
Old version:
Class name: DownloadRequestOptions;
Method or attribute name: header?: string;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: DownloadRequestOptions;
Method or attribute name: description?: string;
Old version:
Class name: DownloadRequestOptions;
Method or attribute name: description?: string;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: DownloadRequestOptions;
Method or attribute name: success?: (data: DownloadResponse) => void;
Old version:
Class name: DownloadRequestOptions;
Method or attribute name: success?: (data: DownloadResponse) => void;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: OnDownloadCompleteOptions;
Method or attribute name: export interface OnDownloadCompleteOptions
Old version:
Class name: OnDownloadCompleteOptions;
Method or attribute name: export interface OnDownloadCompleteOptions
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: OnDownloadCompleteOptions;
Method or attribute name: success?: (data: OnDownloadCompleteResponse) => void;
Old version:
Class name: OnDownloadCompleteOptions;
Method or attribute name: success?: (data: OnDownloadCompleteResponse) => void;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: Request;
Method or attribute name: export default class Request
Old version:
Class name: Request;
Method or attribute name: export default class Request
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: Request;
Method or attribute name: static upload(options: UploadRequestOptions): void;
Old version:
Class name: Request;
Method or attribute name: static upload(options: UploadRequestOptions): void;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: Request;
Method or attribute name: static download(options: DownloadRequestOptions): void;
Old version:
Class name: Request;
Method or attribute name: static download(options: DownloadRequestOptions): void;
New version: 9
Substitute API:
@system.request.d.ts
Deprecated version changed Class name: Request;
Method or attribute name: static onDownloadComplete(options: OnDownloadCompleteOptions): void;
Old version:
Class name: Request;
Method or attribute name: static onDownloadComplete(options: OnDownloadCompleteOptions): void;
New version: 9
Substitute API:
@system.request.d.ts
Error code added Class name: SystemPasteboard;
Method or attribute name: on(type: ‘update’, callback: () => void): void;
Old version:
Class name: SystemPasteboard;
Method or attribute name: on(type: ‘update’, callback: () => void): void;
New version: 401
@ohos.pasteboard.d.ts
Error code added Class name: SystemPasteboard;
Method or attribute name: off(type: ‘update’, callback?: () => void): void;
Old version:
Class name: SystemPasteboard;
Method or attribute name: off(type: ‘update’, callback?: () => void): void;
New version: 401
@ohos.pasteboard.d.ts
Error code added Class name: systemTime;
Method or attribute name: function setTime(time : number, callback : AsyncCallback<void>) : void;
Old version:
Class name: systemTime;
Method or attribute name: function setTime(time : number, callback : AsyncCallback<void>) : void;
New version: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function setTime(time : number) : Promise<void>;
Old version:
Class name: systemTime;
Method or attribute name: function setTime(time : number) : Promise<void>;
New version: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function getCurrentTime(isNano?: boolean): Promise<number>;
Old version:
Class name: systemTime;
Method or attribute name: function getCurrentTime(isNano?: boolean): Promise<number>;
New version: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function getRealActiveTime(isNano?: boolean): Promise<number>;
Old version:
Class name: systemTime;
Method or attribute name: function getRealActiveTime(isNano?: boolean): Promise<number>;
New version: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function getRealTime(isNano?: boolean): Promise<number>;
Old version:
Class name: systemTime;
Method or attribute name: function getRealTime(isNano?: boolean): Promise<number>;
New version: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function setDate(date: Date, callback: AsyncCallback<void>): void;
Old version:
Class name: systemTime;
Method or attribute name: function setDate(date: Date, callback: AsyncCallback<void>): void;
New version: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function setDate(date: Date): Promise<void>;
Old version:
Class name: systemTime;
Method or attribute name: function setDate(date: Date): Promise<void>;
New version: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function getDate(callback: AsyncCallback<Date>): void;
Old version:
Class name: systemTime;
Method or attribute name: function getDate(callback: AsyncCallback<Date>): void;
New version: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function getDate(): Promise<Date>;
Old version:
Class name: systemTime;
Method or attribute name: function getDate(): Promise<Date>;
New version: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function setTimezone(timezone: string, callback: AsyncCallback<void>): void;
Old version:
Class name: systemTime;
Method or attribute name: function setTimezone(timezone: string, callback: AsyncCallback<void>): void;
New version: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function setTimezone(timezone: string): Promise<void>;
Old version:
Class name: systemTime;
Method or attribute name: function setTimezone(timezone: string): Promise<void>;
New version: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function getTimezone(callback: AsyncCallback<string>): void;
Old version:
Class name: systemTime;
Method or attribute name: function getTimezone(callback: AsyncCallback<string>): void;
New version: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function getTimezone(): Promise<string>;
Old version:
Class name: systemTime;
Method or attribute name: function getTimezone(): Promise<string>;
New version: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTimer;
Method or attribute name: function createTimer(options: TimerOptions, callback: AsyncCallback<number>): void;
Old version:
Class name: systemTimer;
Method or attribute name: function createTimer(options: TimerOptions, callback: AsyncCallback<number>): void;
New version: 202,401
@ohos.systemTimer.d.ts
Error code added Class name: systemTimer;
Method or attribute name: function createTimer(options: TimerOptions): Promise<number>;
Old version:
Class name: systemTimer;
Method or attribute name: function createTimer(options: TimerOptions): Promise<number>;
New version: 202,401
@ohos.systemTimer.d.ts
Error code added Class name: systemTimer;
Method or attribute name: function startTimer(timer: number, triggerTime: number, callback: AsyncCallback<void>): void;
Old version:
Class name: systemTimer;
Method or attribute name: function startTimer(timer: number, triggerTime: number, callback: AsyncCallback<void>): void;
New version: 202,401
@ohos.systemTimer.d.ts
Error code added Class name: systemTimer;
Method or attribute name: function startTimer(timer: number, triggerTime: number): Promise<void>;
Old version:
Class name: systemTimer;
Method or attribute name: function startTimer(timer: number, triggerTime: number): Promise<void>;
New version: 202,401
@ohos.systemTimer.d.ts
Error code added Class name: systemTimer;
Method or attribute name: function stopTimer(timer: number, callback: AsyncCallback<void>): void;
Old version:
Class name: systemTimer;
Method or attribute name: function stopTimer(timer: number, callback: AsyncCallback<void>): void;
New version: 202,401
@ohos.systemTimer.d.ts
Error code added Class name: systemTimer;
Method or attribute name: function stopTimer(timer: number): Promise<void>;
Old version:
Class name: systemTimer;
Method or attribute name: function stopTimer(timer: number): Promise<void>;
New version: 202,401
@ohos.systemTimer.d.ts
Error code added Class name: systemTimer;
Method or attribute name: function destroyTimer(timer: number, callback: AsyncCallback<void>): void;
Old version:
Class name: systemTimer;
Method or attribute name: function destroyTimer(timer: number, callback: AsyncCallback<void>): void;
New version: 202,401
@ohos.systemTimer.d.ts
Error code added Class name: systemTimer;
Method or attribute name: function destroyTimer(timer: number): Promise<void>;
Old version:
Class name: systemTimer;
Method or attribute name: function destroyTimer(timer: number): Promise<void>;
New version: 202,401
@ohos.systemTimer.d.ts
Access level changed Class name: systemTimer;
Method or attribute name: function createTimer(options: TimerOptions, callback: AsyncCallback<number>): void;
Old version:
Class name: systemTimer;
Method or attribute name: function createTimer(options: TimerOptions, callback: AsyncCallback<number>): void;
New version: systemapi
@ohos.systemTimer.d.ts
Access level changed Class name: systemTimer;
Method or attribute name: function createTimer(options: TimerOptions): Promise<number>;
Old version:
Class name: systemTimer;
Method or attribute name: function createTimer(options: TimerOptions): Promise<number>;
New version: systemapi
@ohos.systemTimer.d.ts
Access level changed Class name: systemTimer;
Method or attribute name: function startTimer(timer: number, triggerTime: number, callback: AsyncCallback<void>): void;
Old version:
Class name: systemTimer;
Method or attribute name: function startTimer(timer: number, triggerTime: number, callback: AsyncCallback<void>): void;
New version: systemapi
@ohos.systemTimer.d.ts
Access level changed Class name: systemTimer;
Method or attribute name: function startTimer(timer: number, triggerTime: number): Promise<void>;
Old version:
Class name: systemTimer;
Method or attribute name: function startTimer(timer: number, triggerTime: number): Promise<void>;
New version: systemapi
@ohos.systemTimer.d.ts
Access level changed Class name: systemTimer;
Method or attribute name: function stopTimer(timer: number, callback: AsyncCallback<void>): void;
Old version:
Class name: systemTimer;
Method or attribute name: function stopTimer(timer: number, callback: AsyncCallback<void>): void;
New version: systemapi
@ohos.systemTimer.d.ts
Access level changed Class name: systemTimer;
Method or attribute name: function stopTimer(timer: number): Promise<void>;
Old version:
Class name: systemTimer;
Method or attribute name: function stopTimer(timer: number): Promise<void>;
New version: systemapi
@ohos.systemTimer.d.ts
Access level changed Class name: systemTimer;
Method or attribute name: function destroyTimer(timer: number, callback: AsyncCallback<void>): void;
Old version:
Class name: systemTimer;
Method or attribute name: function destroyTimer(timer: number, callback: AsyncCallback<void>): void;
New version: systemapi
@ohos.systemTimer.d.ts
Access level changed Class name: systemTimer;
Method or attribute name: function destroyTimer(timer: number): Promise<void>;
Old version:
Class name: systemTimer;
Method or attribute name: function destroyTimer(timer: number): Promise<void>;
New version: systemapi
@ohos.systemTimer.d.ts
Access level changed Class name: TimerOptions;
Method or attribute name: interface TimerOptions
Old version:
Class name: TimerOptions;
Method or attribute name: interface TimerOptions
New version: systemapi
@ohos.systemTimer.d.ts
Access level changed Class name: TimerOptions;
Method or attribute name: type: number;
Old version:
Class name: TimerOptions;
Method or attribute name: type: number;
New version: systemapi
@ohos.systemTimer.d.ts
Access level changed Class name: TimerOptions;
Method or attribute name: repeat: boolean;
Old version:
Class name: TimerOptions;
Method or attribute name: repeat: boolean;
New version: systemapi
@ohos.systemTimer.d.ts
Access level changed Class name: TimerOptions;
Method or attribute name: interval?: number;
Old version:
Class name: TimerOptions;
Method or attribute name: interval?: number;
New version: systemapi
@ohos.systemTimer.d.ts
Access level changed Class name: TimerOptions;
Method or attribute name: wantAgent?: WantAgent;
Old version:
Class name: TimerOptions;
Method or attribute name: wantAgent?: WantAgent;
New version: systemapi
@ohos.systemTimer.d.ts
Access level changed Class name: TimerOptions;
Method or attribute name: callback?: () => void;
Old version:
Class name: TimerOptions;
Method or attribute name: callback?: () => void;
New version: systemapi
@ohos.systemTimer.d.ts
Permission changed Class name: DownloadTask;
Method or attribute name: interface DownloadTask
Old version:
Class name: DownloadTask;
Method or attribute name: interface DownloadTask
New version: ohos.permission.INTERNET
@ohos.request.d.ts
Permission changed Class name: UploadTask;
Method or attribute name: interface UploadTask
Old version:
Class name: UploadTask;
Method or attribute name: interface UploadTask
New version: ohos.permission.INTERNET
@ohos.request.d.ts
Permission changed Class name: wallpaper;
Method or attribute name: function getFile(wallpaperType: WallpaperType, callback: AsyncCallback<number>): void;
Old version: ohos.permission.GET_WALLPAPER,ohos.permission.READ_USER_STORAGE
Class name: wallpaper;
Method or attribute name: function getFile(wallpaperType: WallpaperType, callback: AsyncCallback<number>): void;
New version: ohos.permission.GET_WALLPAPER
@ohos.wallpaper.d.ts
Permission changed Class name: wallpaper;
Method or attribute name: function getFile(wallpaperType: WallpaperType): Promise<number>;
Old version: ohos.permission.GET_WALLPAPER,ohos.permission.READ_USER_STORAGE
Class name: wallpaper;
Method or attribute name: function getFile(wallpaperType: WallpaperType): Promise<number>;
New version: ohos.permission.GET_WALLPAPER
@ohos.wallpaper.d.ts
Permission changed Class name: wallpaper;
Method or attribute name: function getPixelMap(wallpaperType: WallpaperType, callback: AsyncCallback<image.PixelMap>): void;
Old version: ohos.permission.GET_WALLPAPER,ohos.permission.READ_USER_STORAGE
Class name: wallpaper;
Method or attribute name: function getPixelMap(wallpaperType: WallpaperType, callback: AsyncCallback<image.PixelMap>): void;
New version: ohos.permission.GET_WALLPAPER
@ohos.wallpaper.d.ts
Permission changed Class name: wallpaper;
Method or attribute name: function getPixelMap(wallpaperType: WallpaperType): Promise<image.PixelMap>;
Old version: ohos.permission.GET_WALLPAPER,ohos.permission.READ_USER_STORAGE
Class name: wallpaper;
Method or attribute name: function getPixelMap(wallpaperType: WallpaperType): Promise<image.PixelMap>;
New version: ohos.permission.GET_WALLPAPER
@ohos.wallpaper.d.ts
Model changed Class name: request;
Method or attribute name: function download(config: DownloadConfig, callback: AsyncCallback<DownloadTask>): void;
Old version:
Class name: request;
Method or attribute name: function download(config: DownloadConfig, callback: AsyncCallback<DownloadTask>): void;
New version: FAModelOnly
@ohos.request.d.ts
Model changed Class name: request;
Method or attribute name: function download(config: DownloadConfig): Promise<DownloadTask>;
Old version:
Class name: request;
Method or attribute name: function download(config: DownloadConfig): Promise<DownloadTask>;
New version: FAModelOnly
@ohos.request.d.ts
Model changed Class name: request;
Method or attribute name: function upload(config: UploadConfig, callback: AsyncCallback<UploadTask>): void;
Old version:
Class name: request;
Method or attribute name: function upload(config: UploadConfig, callback: AsyncCallback<UploadTask>): void;
New version: FAModelOnly
@ohos.request.d.ts
Model changed Class name: request;
Method or attribute name: function upload(config: UploadConfig): Promise<UploadTask>;
Old version:
Class name: request;
Method or attribute name: function upload(config: UploadConfig): Promise<UploadTask>;
New version: FAModelOnly
@ohos.request.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-accessibility

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

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

0  赞