Change Type Old Version New Version d.ts File
Added NA Class name: InputMethodSetting;
Method or attribute name: on(type: 'imeShow', callback: (info: Array<InputWindowInfo>) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodSetting;
Method or attribute name: on(type: 'imeHide', callback: (info: Array<InputWindowInfo>) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodSetting;
Method or attribute name: off(type: 'imeShow', callback?: (info: Array<InputWindowInfo>) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodSetting;
Method or attribute name: off(type: 'imeHide', callback?: (info: Array<InputWindowInfo>) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: attach(showKeyboard: boolean, textConfig: TextConfig, callback: AsyncCallback<void>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: attach(showKeyboard: boolean, textConfig: TextConfig): Promise<void>;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: showTextInput(callback: AsyncCallback<void>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: showTextInput(): Promise<void>;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: hideTextInput(callback: AsyncCallback<void>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: hideTextInput(): Promise<void>;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: detach(callback: AsyncCallback<void>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: detach(): Promise<void>;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: setCallingWindow(windowId: number, callback: AsyncCallback<void>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: setCallingWindow(windowId: number): Promise<void>;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: updateCursor(cursorInfo: CursorInfo, callback: AsyncCallback<void>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: updateCursor(cursorInfo: CursorInfo): Promise<void>;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: changeSelection(text: string, start: number, end: number, callback: AsyncCallback<void>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: changeSelection(text: string, start: number, end: number): Promise<void>;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: updateAttribute(attribute: InputAttribute, callback: AsyncCallback<void>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: updateAttribute(attribute: InputAttribute): Promise<void>;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: on(type: 'selectByRange', callback: Callback<Range>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: on(type: 'selectByMovement', callback: Callback<Movement>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: on(type: 'insertText', callback: (text: string) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: on(type: 'deleteLeft', callback: (length: number) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: on(type: 'deleteRight', callback: (length: number) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: on(type: 'sendKeyboardStatus', callback: (keyboardStatus: KeyboardStatus) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: on(type: 'sendFunctionKey', callback: (functionKey: FunctionKey) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: on(type: 'moveCursor', callback: (direction: Direction) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: on(type: 'handleExtendAction', callback: (action: ExtendAction) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: on(type: 'getLeftTextOfCursor', callback: (length: number) => string): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: on(type: 'getRightTextOfCursor', callback: (length: number) => string): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: on(type: 'getTextIndexAtCursor', callback: () => number): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: off(type: 'selectByRange', callback?: Callback<Range>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: off(type: 'selectByMovement', callback?: Callback<Movement>): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: off(type: 'insertText', callback?: (text: string) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: off(type: 'deleteLeft', callback?: (length: number) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: off(type: 'deleteRight', callback?: (length: number) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: off(type: 'sendKeyboardStatus', callback?: (keyboardStatus: KeyboardStatus) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: off(type: 'sendFunctionKey', callback?: (functionKey: FunctionKey) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: off(type: 'moveCursor', callback?: (direction: Direction) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: off(type: 'handleExtendAction', callback?: (action: ExtendAction) => void): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: off(type: 'getLeftTextOfCursor', callback?: (length: number) => string): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: off(type: 'getRightTextOfCursor', callback?: (length: number) => string): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodController;
Method or attribute name: off(type: 'getTextIndexAtCursor', callback?: () => number): void;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodProperty;
Method or attribute name: readonly labelId?: number;
@ohos.inputMethod.d.ts
Added NA Class name: Direction;
Method or attribute name: CURSOR_UP = 1
@ohos.inputMethod.d.ts
Added NA Class name: Direction;
Method or attribute name: CURSOR_DOWN
@ohos.inputMethod.d.ts
Added NA Class name: Direction;
Method or attribute name: CURSOR_LEFT
@ohos.inputMethod.d.ts
Added NA Class name: Direction;
Method or attribute name: CURSOR_RIGHT
@ohos.inputMethod.d.ts
Added NA Class name: Range;
Method or attribute name: start: number;
@ohos.inputMethod.d.ts
Added NA Class name: Range;
Method or attribute name: end: number;
@ohos.inputMethod.d.ts
Added NA Class name: Movement;
Method or attribute name: direction: Direction;
@ohos.inputMethod.d.ts
Added NA Class name: TextInputType;
Method or attribute name: NONE = -1
@ohos.inputMethod.d.ts
Added NA Class name: TextInputType;
Method or attribute name: TEXT = 0
@ohos.inputMethod.d.ts
Added NA Class name: TextInputType;
Method or attribute name: MULTILINE
@ohos.inputMethod.d.ts
Added NA Class name: TextInputType;
Method or attribute name: NUMBER
@ohos.inputMethod.d.ts
Added NA Class name: TextInputType;
Method or attribute name: PHONE
@ohos.inputMethod.d.ts
Added NA Class name: TextInputType;
Method or attribute name: DATETIME
@ohos.inputMethod.d.ts
Added NA Class name: TextInputType;
Method or attribute name: EMAIL_ADDRESS
@ohos.inputMethod.d.ts
Added NA Class name: TextInputType;
Method or attribute name: URL
@ohos.inputMethod.d.ts
Added NA Class name: TextInputType;
Method or attribute name: VISIBLE_PASSWORD
@ohos.inputMethod.d.ts
Added NA Class name: EnterKeyType;
Method or attribute name: UNSPECIFIED = 0
@ohos.inputMethod.d.ts
Added NA Class name: EnterKeyType;
Method or attribute name: NONE
@ohos.inputMethod.d.ts
Added NA Class name: EnterKeyType;
Method or attribute name: GO
@ohos.inputMethod.d.ts
Added NA Class name: EnterKeyType;
Method or attribute name: SEARCH
@ohos.inputMethod.d.ts
Added NA Class name: EnterKeyType;
Method or attribute name: SEND
@ohos.inputMethod.d.ts
Added NA Class name: EnterKeyType;
Method or attribute name: NEXT
@ohos.inputMethod.d.ts
Added NA Class name: EnterKeyType;
Method or attribute name: DONE
@ohos.inputMethod.d.ts
Added NA Class name: EnterKeyType;
Method or attribute name: PREVIOUS
@ohos.inputMethod.d.ts
Added NA Class name: KeyboardStatus;
Method or attribute name: NONE = 0
@ohos.inputMethod.d.ts
Added NA Class name: KeyboardStatus;
Method or attribute name: HIDE = 1
@ohos.inputMethod.d.ts
Added NA Class name: KeyboardStatus;
Method or attribute name: SHOW = 2
@ohos.inputMethod.d.ts
Added NA Class name: InputAttribute;
Method or attribute name: textInputType: TextInputType;
@ohos.inputMethod.d.ts
Added NA Class name: InputAttribute;
Method or attribute name: enterKeyType: EnterKeyType;
@ohos.inputMethod.d.ts
Added NA Class name: FunctionKey;
Method or attribute name: enterKeyType: EnterKeyType;
@ohos.inputMethod.d.ts
Added NA Class name: CursorInfo;
Method or attribute name: left: number;
@ohos.inputMethod.d.ts
Added NA Class name: InputWindowInfo;
Method or attribute name: left: number;
@ohos.inputMethod.d.ts
Added NA Class name: CursorInfo;
Method or attribute name: top: number;
@ohos.inputMethod.d.ts
Added NA Class name: InputWindowInfo;
Method or attribute name: top: number;
@ohos.inputMethod.d.ts
Added NA Class name: CursorInfo;
Method or attribute name: width: number;
@ohos.inputMethod.d.ts
Added NA Class name: InputWindowInfo;
Method or attribute name: width: number;
@ohos.inputMethod.d.ts
Added NA Class name: CursorInfo;
Method or attribute name: height: number;
@ohos.inputMethod.d.ts
Added NA Class name: InputWindowInfo;
Method or attribute name: height: number;
@ohos.inputMethod.d.ts
Added NA Class name: TextConfig;
Method or attribute name: inputAttribute: InputAttribute;
@ohos.inputMethod.d.ts
Added NA Class name: TextConfig;
Method or attribute name: cursorInfo?: CursorInfo;
@ohos.inputMethod.d.ts
Added NA Class name: TextConfig;
Method or attribute name: selection?: Range;
@ohos.inputMethod.d.ts
Added NA Class name: TextConfig;
Method or attribute name: windowId?: number;
@ohos.inputMethod.d.ts
Added NA Class name: ExtendAction;
Method or attribute name: SELECT_ALL = 0
@ohos.inputMethod.d.ts
Added NA Class name: ExtendAction;
Method or attribute name: CUT = 3
@ohos.inputMethod.d.ts
Added NA Class name: ExtendAction;
Method or attribute name: COPY = 4
@ohos.inputMethod.d.ts
Added NA Class name: ExtendAction;
Method or attribute name: PASTE = 5
@ohos.inputMethod.d.ts
Added NA Class name: InputWindowInfo;
Method or attribute name: name: string;
@ohos.inputMethod.d.ts
Added NA Class name: InputMethodAbility;
Method or attribute name: createPanel(ctx: BaseContext, info: PanelInfo, callback: AsyncCallback<Panel>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputMethodAbility;
Method or attribute name: createPanel(ctx: BaseContext, info: PanelInfo): Promise<Panel>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputMethodAbility;
Method or attribute name: destroyPanel(panel: Panel, callback: AsyncCallback<void>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputMethodAbility;
Method or attribute name: destroyPanel(panel: Panel): Promise<void>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: deleteForwardSync(length: number): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: deleteBackwardSync(length: number): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: insertTextSync(text: string): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: getForwardSync(length: number): string;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: getBackwardSync(length: number): string;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: getEditorAttributeSync(): EditorAttribute;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: moveCursorSync(direction: number): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: selectByRange(range: Range, callback: AsyncCallback<void>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: selectByRange(range: Range): Promise<void>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: selectByRangeSync(range: Range): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: selectByMovement(movement: Movement, callback: AsyncCallback<void>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: selectByMovement(movement: Movement): Promise<void>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: selectByMovementSync(movement: Movement): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: getTextIndexAtCursor(callback: AsyncCallback<number>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: getTextIndexAtCursor(): Promise<number>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: getTextIndexAtCursorSync(): number;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: sendExtendAction(action: ExtendAction, callback: AsyncCallback<void>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputClient;
Method or attribute name: sendExtendAction(action: ExtendAction): Promise<void>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: KeyboardDelegate;
Method or attribute name: on(type: 'keyEvent', callback: (event: InputKeyEvent) => boolean): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: KeyboardDelegate;
Method or attribute name: on(type: 'editorAttributeChanged', callback: (attr: EditorAttribute) => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: KeyboardDelegate;
Method or attribute name: off(type: 'keyEvent', callback?: (event: InputKeyEvent) => boolean): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: KeyboardDelegate;
Method or attribute name: off(type: 'editorAttributeChanged', callback?: (attr: EditorAttribute) => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Panel;
Method or attribute name: setUiContent(path: string, callback: AsyncCallback<void>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Panel;
Method or attribute name: setUiContent(path: string): Promise<void>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Panel;
Method or attribute name: setUiContent(path: string, storage: LocalStorage, callback: AsyncCallback<void>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Panel;
Method or attribute name: setUiContent(path: string, storage: LocalStorage): Promise<void>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Panel;
Method or attribute name: resize(width: number, height: number, callback: AsyncCallback<void>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Panel;
Method or attribute name: resize(width: number, height: number): Promise<void>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Panel;
Method or attribute name: moveTo(x: number, y: number, callback: AsyncCallback<void>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Panel;
Method or attribute name: moveTo(x: number, y: number): Promise<void>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Panel;
Method or attribute name: show(callback: AsyncCallback<void>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Panel;
Method or attribute name: show(): Promise<void>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Panel;
Method or attribute name: hide(callback: AsyncCallback<void>): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Panel;
Method or attribute name: hide(): Promise<void>;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Panel;
Method or attribute name: on(type: 'show', callback: () => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Panel;
Method or attribute name: on(type: 'hide', callback: () => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Panel;
Method or attribute name: off(type: 'show', callback?: () => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Panel;
Method or attribute name: off(type: 'hide', callback?: () => void): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Panel;
Method or attribute name: changeFlag(flag: PanelFlag): void;
@ohos.inputMethodEngine.d.ts
Added NA Class name: PanelFlag;
Method or attribute name: FLG_FIXED = 0
@ohos.inputMethodEngine.d.ts
Added NA Class name: PanelFlag;
Method or attribute name: FLG_FLOATING
@ohos.inputMethodEngine.d.ts
Added NA Class name: PanelType;
Method or attribute name: SOFT_KEYBOARD = 0
@ohos.inputMethodEngine.d.ts
Added NA Class name: PanelType;
Method or attribute name: STATUS_BAR
@ohos.inputMethodEngine.d.ts
Added NA Class name: PanelInfo;
Method or attribute name: type: PanelType;
@ohos.inputMethodEngine.d.ts
Added NA Class name: PanelInfo;
Method or attribute name: flag?: PanelFlag;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Direction;
Method or attribute name: CURSOR_UP = 1
@ohos.inputMethodEngine.d.ts
Added NA Class name: Direction;
Method or attribute name: CURSOR_DOWN
@ohos.inputMethodEngine.d.ts
Added NA Class name: Direction;
Method or attribute name: CURSOR_LEFT
@ohos.inputMethodEngine.d.ts
Added NA Class name: Direction;
Method or attribute name: CURSOR_RIGHT
@ohos.inputMethodEngine.d.ts
Added NA Class name: Range;
Method or attribute name: start: number;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Range;
Method or attribute name: end: number;
@ohos.inputMethodEngine.d.ts
Added NA Class name: Movement;
Method or attribute name: direction: Direction;
@ohos.inputMethodEngine.d.ts
Added NA Class name: ExtendAction;
Method or attribute name: SELECT_ALL = 0
@ohos.inputMethodEngine.d.ts
Added NA Class name: ExtendAction;
Method or attribute name: CUT = 3
@ohos.inputMethodEngine.d.ts
Added NA Class name: ExtendAction;
Method or attribute name: COPY = 4
@ohos.inputMethodEngine.d.ts
Added NA Class name: ExtendAction;
Method or attribute name: PASTE = 5
@ohos.inputMethodEngine.d.ts
Added NA Class name: InputMethodSubtype;
Method or attribute name: readonly labelId?: number;
@ohos.InputMethodSubtype.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function getTime(isNanoseconds?: boolean): number;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function getUptime(timeType: TimeType, isNanoseconds?: boolean): number;
@ohos.systemDateTime.d.ts
Added NA Class name: systemDateTime;
Method or attribute name: function getTimezoneSync(): string;
@ohos.systemDateTime.d.ts
Added NA Class name: TimeType;
Method or attribute name: STARTUP
@ohos.systemDateTime.d.ts
Added NA Class name: TimeType;
Method or attribute name: ACTIVE
@ohos.systemDateTime.d.ts
Added NA Class name: wallpaper;
Method or attribute name: function setVideo(source: string, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void;
@ohos.wallpaper.d.ts
Added NA Class name: wallpaper;
Method or attribute name: function setVideo(source: string, wallpaperType: WallpaperType): Promise<void>;
@ohos.wallpaper.d.ts
Added NA Class name: wallpaper;
Method or attribute name: function setCustomWallpaper(source: string, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void;
@ohos.wallpaper.d.ts
Added NA Class name: wallpaper;
Method or attribute name: function setCustomWallpaper(source: string, wallpaperType: WallpaperType): Promise<void>;
@ohos.wallpaper.d.ts
Added NA Class name: wallpaper;
Method or attribute name: function on(

type: 'wallpaperChange',

callback: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void

): void;
@ohos.wallpaper.d.ts
Added NA Class name: wallpaper;
Method or attribute name: function off(

type: 'wallpaperChange',

callback?: (wallpaperType: WallpaperType, resourceType: WallpaperResourceType, uri?: string) => void

): void;
@ohos.wallpaper.d.ts
Added NA Class name: WallpaperResourceType;
Method or attribute name: DEFAULT
@ohos.wallpaper.d.ts
Added NA Class name: WallpaperResourceType;
Method or attribute name: PICTURE
@ohos.wallpaper.d.ts
Added NA Class name: WallpaperResourceType;
Method or attribute name: VIDEO
@ohos.wallpaper.d.ts
Added NA Class name: WallpaperResourceType;
Method or attribute name: PACKAGE
@ohos.wallpaper.d.ts
Added NA Class name: WallpaperExtensionAbility;
Method or attribute name: onCreate(want: object): void;
@ohos.WallpaperExtensionAbility.d.ts
Added NA Class name: WallpaperExtensionAbility;
Method or attribute name: onWallpaperChange(wallpaperType: number): void;
@ohos.WallpaperExtensionAbility.d.ts
Added NA Class name: WallpaperExtensionAbility;
Method or attribute name: onDestroy(): void;
@ohos.WallpaperExtensionAbility.d.ts
Deprecated version changed Class name: PasteDataRecord;
Method or attribute name: convertToText(): Promise<string>;
Old version information:
Class name: PasteDataRecord;
Method or attribute name: convertToText(): Promise<string>;
New version information: 9
Substitute API: ohos.pasteboard.pasteboard#convertToTextV9
@ohos.pasteboard.d.ts
Deprecated version changed Class name: SystemPasteboard;
Method or attribute name: clear(): Promise<void>;
Old version information:
Class name: SystemPasteboard;
Method or attribute name: clear(): Promise<void>;
New version information: 9
Substitute API: ohos.pasteboard.pasteboard#clearData
@ohos.pasteboard.d.ts
Deprecated version changed Class name: SystemPasteboard;
Method or attribute name: getPasteData(): Promise<PasteData>;
Old version information:
Class name: SystemPasteboard;
Method or attribute name: getPasteData(): Promise<PasteData>;
New version information: 9
Substitute API: ohos.pasteboard.pasteboard#getData
@ohos.pasteboard.d.ts
Deprecated version changed Class name: SystemPasteboard;
Method or attribute name: hasPasteData(): Promise<boolean>;
Old version information:
Class name: SystemPasteboard;
Method or attribute name: hasPasteData(): Promise<boolean>;
New version information: 9
Substitute API: ohos.pasteboard.pasteboard#hasData
@ohos.pasteboard.d.ts
Deprecated version changed Class name: SystemPasteboard;
Method or attribute name: setPasteData(data: PasteData): Promise<void>;
Old version information:
Class name: SystemPasteboard;
Method or attribute name: setPasteData(data: PasteData): Promise<void>;
New version information: 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): Promise<DownloadTask>;
Old version information: 9,
Class name: request;
Method or attribute name: function download(config: DownloadConfig): Promise<DownloadTask>;
New version information: 9
Substitute API: ohos.request.downloadFile
@ohos.request.d.ts
Deprecated version changed Class name: systemDateTime;
Method or attribute name: function setDate(date: Date, callback: AsyncCallback<void>): void;
Old version information:
Class name: systemDateTime;
Method or attribute name: function setDate(date: Date, callback: AsyncCallback<void>): void;
New version information: 10
Substitute API: systemDateTime.setTime
@ohos.systemDateTime.d.ts
Deprecated version changed Class name: systemDateTime;
Method or attribute name: function setDate(date: Date): Promise<void>;
Old version information:
Class name: systemDateTime;
Method or attribute name: function setDate(date: Date): Promise<void>;
New version information: 10
Substitute API: systemDateTime.setTime
@ohos.systemDateTime.d.ts
Deprecated version changed Class name: systemDateTime;
Method or attribute name: function getDate(callback: AsyncCallback<Date>): void;
Old version information:
Class name: systemDateTime;
Method or attribute name: function getDate(callback: AsyncCallback<Date>): void;
New version information: 10
Substitute API: new
@ohos.systemDateTime.d.ts
Deprecated version changed Class name: systemDateTime;
Method or attribute name: function getDate(): Promise<Date>;
Old version information:
Class name: systemDateTime;
Method or attribute name: function getDate(): Promise<Date>;
New version information: 10
Substitute API: new
@ohos.systemDateTime.d.ts
Deprecated version changed Class name: UploadResponse;
Method or attribute name: export interface UploadResponse
Old version information: 9,
Class name: UploadResponse;
Method or attribute name: export interface UploadResponse
New version information: 9
Substitute API: ohos.request
@system.request.d.ts
Error code added Class name: systemTime;
Method or attribute name: function setTime(time: number): Promise<void>;
Old version information:
Class name: systemTime;
Method or attribute name: function setTime(time: number): Promise<void>;
New version information: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function getCurrentTime(callback: AsyncCallback<number>): void;
Old version information:
Class name: systemTime;
Method or attribute name: function getCurrentTime(callback: AsyncCallback<number>): void;
New version information: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function getCurrentTime(isNano?: boolean): Promise<number>;
Old version information:
Class name: systemTime;
Method or attribute name: function getCurrentTime(isNano?: boolean): Promise<number>;
New version information: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function getRealActiveTime(callback: AsyncCallback<number>): void;
Old version information:
Class name: systemTime;
Method or attribute name: function getRealActiveTime(callback: AsyncCallback<number>): void;
New version information: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function getRealActiveTime(isNano?: boolean): Promise<number>;
Old version information:
Class name: systemTime;
Method or attribute name: function getRealActiveTime(isNano?: boolean): Promise<number>;
New version information: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function getRealTime(callback: AsyncCallback<number>): void;
Old version information:
Class name: systemTime;
Method or attribute name: function getRealTime(callback: AsyncCallback<number>): void;
New version information: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function getRealTime(isNano?: boolean): Promise<number>;
Old version information:
Class name: systemTime;
Method or attribute name: function getRealTime(isNano?: boolean): Promise<number>;
New version information: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function setDate(date: Date): Promise<void>;
Old version information:
Class name: systemTime;
Method or attribute name: function setDate(date: Date): Promise<void>;
New version information: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function getDate(): Promise<Date>;
Old version information:
Class name: systemTime;
Method or attribute name: function getDate(): Promise<Date>;
New version information: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function setTimezone(timezone: string): Promise<void>;
Old version information:
Class name: systemTime;
Method or attribute name: function setTimezone(timezone: string): Promise<void>;
New version information: -1
@ohos.systemTime.d.ts
Error code added Class name: systemTime;
Method or attribute name: function getTimezone(): Promise<string>;
Old version information:
Class name: systemTime;
Method or attribute name: function getTimezone(): Promise<string>;
New version information: -1
@ohos.systemTime.d.ts
Error code changed Class name: PasteData;
Method or attribute name: addRecord(mimeType: string, value: ValueType): void;
Old version information: 401, 12900002
Class name: PasteData;
Method or attribute name: addRecord(mimeType: string, value: ValueType): void;
New version information: 401
@ohos.pasteboard.d.ts
Error code changed Class name: screenLock;
Method or attribute name: function lock(callback: AsyncCallback<boolean>): void;
Old version information: 401, 13200002
Class name: screenLock;
Method or attribute name: function lock(callback: AsyncCallback<boolean>): void;
New version information: 401,201,202, 13200002
@ohos.screenLock.d.ts
Error code changed Class name: screenLock;
Method or attribute name: function lock(): Promise<boolean>;
Old version information: 13200002
Class name: screenLock;
Method or attribute name: function lock(): Promise<boolean>;
New version information: 201,202, 13200002
@ohos.screenLock.d.ts
Error code changed Class name: screenLock;
Method or attribute name: function onSystemEvent(callback: Callback<SystemEvent>): boolean;
Old version information: 401, 13200002
Class name: screenLock;
Method or attribute name: function onSystemEvent(callback: Callback<SystemEvent>): boolean;
New version information: 401,201,202, 13200002
@ohos.screenLock.d.ts
Error code changed Class name: screenLock;
Method or attribute name: function sendScreenLockEvent(event: String, parameter: number, callback: AsyncCallback<boolean>): void;
Old version information: 401, 13200002
Class name: screenLock;
Method or attribute name: function sendScreenLockEvent(event: String, parameter: number, callback: AsyncCallback<boolean>): void;
New version information: 401,201,202, 13200002
@ohos.screenLock.d.ts
Error code changed Class name: screenLock;
Method or attribute name: function sendScreenLockEvent(event: String, parameter: number): Promise<boolean>;
Old version information: 401, 13200002
Class name: screenLock;
Method or attribute name: function sendScreenLockEvent(event: String, parameter: number): Promise<boolean>;
New version information: 401,201,202, 13200002
@ohos.screenLock.d.ts
Error code changed Class name: systemDateTime;
Method or attribute name: function setTime(time: number, callback: AsyncCallback<void>): void;
Old version information: 202,401
Class name: systemDateTime;
Method or attribute name: function setTime(time: number, callback: AsyncCallback<void>): void;
New version information: 201,202,401
@ohos.systemDateTime.d.ts
Error code changed Class name: systemDateTime;
Method or attribute name: function setTime(time: number): Promise<void>;
Old version information: 202,401
Class name: systemDateTime;
Method or attribute name: function setTime(time: number): Promise<void>;
New version information: 201,202,401
@ohos.systemDateTime.d.ts
Error code changed Class name: systemDateTime;
Method or attribute name: function setDate(date: Date, callback: AsyncCallback<void>): void;
Old version information: 202,401
Class name: systemDateTime;
Method or attribute name: function setDate(date: Date, callback: AsyncCallback<void>): void;
New version information: 201,202,401
@ohos.systemDateTime.d.ts
Error code changed Class name: systemDateTime;
Method or attribute name: function setDate(date: Date): Promise<void>;
Old version information: 202,401
Class name: systemDateTime;
Method or attribute name: function setDate(date: Date): Promise<void>;
New version information: 201,202,401
@ohos.systemDateTime.d.ts
Error code changed Class name: systemDateTime;
Method or attribute name: function setTimezone(timezone: string, callback: AsyncCallback<void>): void;
Old version information: 202,401
Class name: systemDateTime;
Method or attribute name: function setTimezone(timezone: string, callback: AsyncCallback<void>): void;
New version information: 201,202,401
@ohos.systemDateTime.d.ts
Error code changed Class name: systemDateTime;
Method or attribute name: function setTimezone(timezone: string): Promise<void>;
Old version information: 202,401
Class name: systemDateTime;
Method or attribute name: function setTimezone(timezone: string): Promise<void>;
New version information: 201,202,401
@ohos.systemDateTime.d.ts
Error code changed Class name: wallpaper;
Method or attribute name: function getImage(wallpaperType: WallpaperType, callback: AsyncCallback<image.PixelMap>): void;
Old version information: 401,201
Class name: wallpaper;
Method or attribute name: function getImage(wallpaperType: WallpaperType, callback: AsyncCallback<image.PixelMap>): void;
New version information: 401,201,202
@ohos.wallpaper.d.ts
Error code changed Class name: wallpaper;
Method or attribute name: function getImage(wallpaperType: WallpaperType): Promise<image.PixelMap>;
Old version information: 401,201
Class name: wallpaper;
Method or attribute name: function getImage(wallpaperType: WallpaperType): Promise<image.PixelMap>;
New version information: 401,201,202
@ohos.wallpaper.d.ts
Permission changed Class name: DownloadConfig;
Method or attribute name: background?: boolean;
Old version information:
Class name: DownloadConfig;
Method or attribute name: background?: boolean;
New version information: ohos.permission.INTERNET
@ohos.request.d.ts
Permission changed Class name: screenLock;
Method or attribute name: function lock(callback: AsyncCallback<boolean>): void;
Old version information:
Class name: screenLock;
Method or attribute name: function lock(callback: AsyncCallback<boolean>): void;
New version information: ohos.permission.ACCESS_SCREEN_LOCK_INNER
@ohos.screenLock.d.ts
Permission changed Class name: screenLock;
Method or attribute name: function lock(): Promise<boolean>;
Old version information:
Class name: screenLock;
Method or attribute name: function lock(): Promise<boolean>;
New version information: ohos.permission.ACCESS_SCREEN_LOCK_INNER
@ohos.screenLock.d.ts
Permission changed Class name: screenLock;
Method or attribute name: function onSystemEvent(callback: Callback<SystemEvent>): boolean;
Old version information:
Class name: screenLock;
Method or attribute name: function onSystemEvent(callback: Callback<SystemEvent>): boolean;
New version information: ohos.permission.ACCESS_SCREEN_LOCK_INNER
@ohos.screenLock.d.ts
Permission changed Class name: screenLock;
Method or attribute name: function sendScreenLockEvent(event: String, parameter: number, callback: AsyncCallback<boolean>): void;
Old version information:
Class name: screenLock;
Method or attribute name: function sendScreenLockEvent(event: String, parameter: number, callback: AsyncCallback<boolean>): void;
New version information: ohos.permission.ACCESS_SCREEN_LOCK_INNER
@ohos.screenLock.d.ts
Permission changed Class name: screenLock;
Method or attribute name: function sendScreenLockEvent(event: String, parameter: number): Promise<boolean>;
Old version information:
Class name: screenLock;
Method or attribute name: function sendScreenLockEvent(event: String, parameter: number): Promise<boolean>;
New version information: ohos.permission.ACCESS_SCREEN_LOCK_INNER
@ohos.screenLock.d.ts
Permission changed Class name: systemDateTime;
Method or attribute name: function setTime(time: number, callback: AsyncCallback<void>): void;
Old version information:
Class name: systemDateTime;
Method or attribute name: function setTime(time: number, callback: AsyncCallback<void>): void;
New version information: ohos.permission.SET_TIME
@ohos.systemDateTime.d.ts
Permission changed Class name: systemDateTime;
Method or attribute name: function setTime(time: number): Promise<void>;
Old version information:
Class name: systemDateTime;
Method or attribute name: function setTime(time: number): Promise<void>;
New version information: ohos.permission.SET_TIME
@ohos.systemDateTime.d.ts
Permission changed Class name: systemDateTime;
Method or attribute name: function setDate(date: Date, callback: AsyncCallback<void>): void;
Old version information:
Class name: systemDateTime;
Method or attribute name: function setDate(date: Date, callback: AsyncCallback<void>): void;
New version information: ohos.permission.SET_TIME
@ohos.systemDateTime.d.ts
Permission changed Class name: systemDateTime;
Method or attribute name: function setDate(date: Date): Promise<void>;
Old version information:
Class name: systemDateTime;
Method or attribute name: function setDate(date: Date): Promise<void>;
New version information: ohos.permission.SET_TIME
@ohos.systemDateTime.d.ts
Permission changed Class name: systemDateTime;
Method or attribute name: function setTimezone(timezone: string, callback: AsyncCallback<void>): void;
Old version information:
Class name: systemDateTime;
Method or attribute name: function setTimezone(timezone: string, callback: AsyncCallback<void>): void;
New version information: ohos.permission.SET_TIME_ZONE
@ohos.systemDateTime.d.ts
Permission changed Class name: systemDateTime;
Method or attribute name: function setTimezone(timezone: string): Promise<void>;
Old version information:
Class name: systemDateTime;
Method or attribute name: function setTimezone(timezone: string): Promise<void>;
New version information: ohos.permission.SET_TIME_ZONE
@ohos.systemDateTime.d.ts
Permission changed Class name: systemTime;
Method or attribute name: function setTime(time: number): Promise<void>;
Old version information:
Class name: systemTime;
Method or attribute name: function setTime(time: number): Promise<void>;
New version information: ohos.permission.SET_TIME
@ohos.systemTime.d.ts
Permission changed Class name: systemTime;
Method or attribute name: function setDate(date: Date): Promise<void>;
Old version information:
Class name: systemTime;
Method or attribute name: function setDate(date: Date): Promise<void>;
New version information: ohos.permission.SET_TIME
@ohos.systemTime.d.ts
Permission changed Class name: systemTime;
Method or attribute name: function setTimezone(timezone: string): Promise<void>;
Old version information:
Class name: systemTime;
Method or attribute name: function setTimezone(timezone: string): Promise<void>;
New version information: ohos.permission.SET_TIME_ZONE
@ohos.systemTime.d.ts
Type changed Class name: InputMethodProperty;
Method or attribute name: readonly iconId?: number;
Old version information:
Class name: InputMethodProperty;
Method or attribute name: readonly iconId?: number;
New version information: ?number
@ohos.inputMethod.d.ts
Type changed Class name: InputMethodProperty;
Method or attribute name: extra?: object;
Old version information:
Class name: InputMethodProperty;
Method or attribute name: extra?: object;
New version information: ?object
@ohos.inputMethod.d.ts
Type changed Class name: InputMethodSubtype;
Method or attribute name: extra?: object;
Old version information:
Class name: InputMethodSubtype;
Method or attribute name: extra?: object;
New version information: ?object
@ohos.InputMethodSubtype.d.ts
Type changed Class name: pasteboard;
Method or attribute name: type ValueType = string | image.PixelMap | Want | ArrayBuffer;
Old version information:
Class name: pasteboard;
Method or attribute name: type ValueType = string | image.PixelMap | Want | ArrayBuffer;
New version information: string | image.PixelMap | Want | ArrayBuffer
@ohos.pasteboard.d.ts
Type changed Class name: PasteDataProperty;
Method or attribute name: additions: {

[key: string]: object

}
Old version information:
Class name: PasteDataProperty;
Method or attribute name: additions: {

[key: string]: object

}
New version information: [key: string]: object
@ohos.pasteboard.d.ts
Type changed Class name: PasteDataProperty;
Method or attribute name: readonly mimeTypes: Array<string>;
Old version information:
Class name: PasteDataProperty;
Method or attribute name: readonly mimeTypes: Array<string>;
New version information: Array<string>
@ohos.pasteboard.d.ts
Type changed Class name: PasteDataProperty;
Method or attribute name: tag: string;
Old version information:
Class name: PasteDataProperty;
Method or attribute name: tag: string;
New version information: string
@ohos.pasteboard.d.ts
Type changed Class name: PasteDataProperty;
Method or attribute name: readonly timestamp: number;
Old version information:
Class name: PasteDataProperty;
Method or attribute name: readonly timestamp: number;
New version information: number
@ohos.pasteboard.d.ts
Type changed Class name: PasteDataProperty;
Method or attribute name: localOnly: boolean;
Old version information:
Class name: PasteDataProperty;
Method or attribute name: localOnly: boolean;
New version information: boolean
@ohos.pasteboard.d.ts
Type changed Class name: PasteDataRecord;
Method or attribute name: htmlText: string;
Old version information:
Class name: PasteDataRecord;
Method or attribute name: htmlText: string;
New version information: string
@ohos.pasteboard.d.ts
Type changed Class name: PasteDataRecord;
Method or attribute name: want: Want;
Old version information:
Class name: PasteDataRecord;
Method or attribute name: want: Want;
New version information: Want
@ohos.pasteboard.d.ts
Type changed Class name: PasteDataRecord;
Method or attribute name: mimeType: string;
Old version information:
Class name: PasteDataRecord;
Method or attribute name: mimeType: string;
New version information: string
@ohos.pasteboard.d.ts
Type changed Class name: PasteDataRecord;
Method or attribute name: plainText: string;
Old version information:
Class name: PasteDataRecord;
Method or attribute name: plainText: string;
New version information: string
@ohos.pasteboard.d.ts
Type changed Class name: PasteDataRecord;
Method or attribute name: uri: string;
Old version information:
Class name: PasteDataRecord;
Method or attribute name: uri: string;
New version information: string
@ohos.pasteboard.d.ts
Type changed Class name: DownloadConfig;
Method or attribute name: url: string;
Old version information:
Class name: DownloadConfig;
Method or attribute name: url: string;
New version information: string
@ohos.request.d.ts
Type changed Class name: UploadConfig;
Method or attribute name: url: string;
Old version information:
Class name: UploadConfig;
Method or attribute name: url: string;
New version information: string
@ohos.request.d.ts
Type changed Class name: DownloadConfig;
Method or attribute name: header?: Object;
Old version information:
Class name: DownloadConfig;
Method or attribute name: header?: Object;
New version information: ?Object
@ohos.request.d.ts
Type changed Class name: DownloadConfig;
Method or attribute name: enableMetered?: boolean;
Old version information:
Class name: DownloadConfig;
Method or attribute name: enableMetered?: boolean;
New version information: ?boolean
@ohos.request.d.ts
Type changed Class name: DownloadConfig;
Method or attribute name: enableRoaming?: boolean;
Old version information:
Class name: DownloadConfig;
Method or attribute name: enableRoaming?: boolean;
New version information: ?boolean
@ohos.request.d.ts
Type changed Class name: DownloadConfig;
Method or attribute name: description?: string;
Old version information:
Class name: DownloadConfig;
Method or attribute name: description?: string;
New version information: ?string
@ohos.request.d.ts
Type changed Class name: DownloadConfig;
Method or attribute name: networkType?: number;
Old version information:
Class name: DownloadConfig;
Method or attribute name: networkType?: number;
New version information: ?number
@ohos.request.d.ts
Type changed Class name: DownloadConfig;
Method or attribute name: filePath?: string;
Old version information:
Class name: DownloadConfig;
Method or attribute name: filePath?: string;
New version information: ?string
@ohos.request.d.ts
Type changed Class name: DownloadConfig;
Method or attribute name: title?: string;
Old version information:
Class name: DownloadConfig;
Method or attribute name: title?: string;
New version information: ?string
@ohos.request.d.ts
Type changed Class name: DownloadConfig;
Method or attribute name: background?: boolean;
Old version information:
Class name: DownloadConfig;
Method or attribute name: background?: boolean;
New version information: ?boolean
@ohos.request.d.ts
Type changed Class name: DownloadInfo;
Method or attribute name: description: string;
Old version information:
Class name: DownloadInfo;
Method or attribute name: description: string;
New version information: string
@ohos.request.d.ts
Type changed Class name: DownloadInfo;
Method or attribute name: downloadedBytes: number;
Old version information:
Class name: DownloadInfo;
Method or attribute name: downloadedBytes: number;
New version information: number
@ohos.request.d.ts
Type changed Class name: DownloadInfo;
Method or attribute name: downloadId: number;
Old version information:
Class name: DownloadInfo;
Method or attribute name: downloadId: number;
New version information: number
@ohos.request.d.ts
Type changed Class name: DownloadInfo;
Method or attribute name: failedReason: number;
Old version information:
Class name: DownloadInfo;
Method or attribute name: failedReason: number;
New version information: number
@ohos.request.d.ts
Type changed Class name: DownloadInfo;
Method or attribute name: fileName: string;
Old version information:
Class name: DownloadInfo;
Method or attribute name: fileName: string;
New version information: string
@ohos.request.d.ts
Type changed Class name: DownloadInfo;
Method or attribute name: filePath: string;
Old version information:
Class name: DownloadInfo;
Method or attribute name: filePath: string;
New version information: string
@ohos.request.d.ts
Type changed Class name: DownloadInfo;
Method or attribute name: pausedReason: number;
Old version information:
Class name: DownloadInfo;
Method or attribute name: pausedReason: number;
New version information: number
@ohos.request.d.ts
Type changed Class name: DownloadInfo;
Method or attribute name: status: number;
Old version information:
Class name: DownloadInfo;
Method or attribute name: status: number;
New version information: number
@ohos.request.d.ts
Type changed Class name: DownloadInfo;
Method or attribute name: targetURI: string;
Old version information:
Class name: DownloadInfo;
Method or attribute name: targetURI: string;
New version information: string
@ohos.request.d.ts
Type changed Class name: DownloadInfo;
Method or attribute name: downloadTitle: string;
Old version information:
Class name: DownloadInfo;
Method or attribute name: downloadTitle: string;
New version information: string
@ohos.request.d.ts
Type changed Class name: DownloadInfo;
Method or attribute name: downloadTotalBytes: number;
Old version information:
Class name: DownloadInfo;
Method or attribute name: downloadTotalBytes: number;
New version information: number
@ohos.request.d.ts
Type changed Class name: File;
Method or attribute name: filename: string;
Old version information:
Class name: File;
Method or attribute name: filename: string;
New version information: string
@ohos.request.d.ts
Type changed Class name: File;
Method or attribute name: name: string;
Old version information:
Class name: File;
Method or attribute name: name: string;
New version information: string
@ohos.request.d.ts
Type changed Class name: RequestData;
Method or attribute name: name: string;
Old version information:
Class name: RequestData;
Method or attribute name: name: string;
New version information: string
@ohos.request.d.ts
Type changed Class name: File;
Method or attribute name: uri: string;
Old version information:
Class name: File;
Method or attribute name: uri: string;
New version information: string
@ohos.request.d.ts
Type changed Class name: File;
Method or attribute name: type: string;
Old version information:
Class name: File;
Method or attribute name: type: string;
New version information: string
@ohos.request.d.ts
Type changed Class name: RequestData;
Method or attribute name: value: string;
Old version information:
Class name: RequestData;
Method or attribute name: value: string;
New version information: string
@ohos.request.d.ts
Type changed Class name: UploadConfig;
Method or attribute name: header: Object;
Old version information:
Class name: UploadConfig;
Method or attribute name: header: Object;
New version information: Object
@ohos.request.d.ts
Type changed Class name: UploadConfig;
Method or attribute name: method: string;
Old version information:
Class name: UploadConfig;
Method or attribute name: method: string;
New version information: string
@ohos.request.d.ts
Type changed Class name: UploadConfig;
Method or attribute name: files: Array<File>;
Old version information:
Class name: UploadConfig;
Method or attribute name: files: Array<File>;
New version information: Array<File>
@ohos.request.d.ts
Type changed Class name: UploadConfig;
Method or attribute name: data: Array<RequestData>;
Old version information:
Class name: UploadConfig;
Method or attribute name: data: Array<RequestData>;
New version information: Array<RequestData>
@ohos.request.d.ts
Type changed Class name: TaskState;
Method or attribute name: path: string;
Old version information:
Class name: TaskState;
Method or attribute name: path: string;
New version information: string
@ohos.request.d.ts
Type changed Class name: TaskState;
Method or attribute name: responseCode: number;
Old version information:
Class name: TaskState;
Method or attribute name: responseCode: number;
New version information: number
@ohos.request.d.ts
Type changed Class name: TaskState;
Method or attribute name: message: string;
Old version information:
Class name: TaskState;
Method or attribute name: message: string;
New version information: string
@ohos.request.d.ts
Function changed Class name: InputMethodProperty;
Method or attribute name: extra: object;
Class name: InputMethodProperty;
Method or attribute name: extra?: object;
@ohos.inputMethod.d.ts
Function changed Class name: InputMethodSubtype;
Method or attribute name: extra: object;
Class name: InputMethodSubtype;
Method or attribute name: extra?: object;
@ohos.InputMethodSubtype.d.ts
Cross-platform capability changed Class name: request;
Method or attribute name: function downloadFile(context: BaseContext, config: DownloadConfig, callback: AsyncCallback<DownloadTask>): void;
Old version information:
Class name: request;
Method or attribute name: function downloadFile(context: BaseContext, config: DownloadConfig, callback: AsyncCallback<DownloadTask>): void;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: request;
Method or attribute name: function downloadFile(context: BaseContext, config: DownloadConfig): Promise<DownloadTask>;
Old version information:
Class name: request;
Method or attribute name: function downloadFile(context: BaseContext, config: DownloadConfig): Promise<DownloadTask>;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: request;
Method or attribute name: function uploadFile(context: BaseContext, config: UploadConfig, callback: AsyncCallback<UploadTask>): void;
Old version information:
Class name: request;
Method or attribute name: function uploadFile(context: BaseContext, config: UploadConfig, callback: AsyncCallback<UploadTask>): void;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: request;
Method or attribute name: function uploadFile(context: BaseContext, config: UploadConfig): Promise<UploadTask>;
Old version information:
Class name: request;
Method or attribute name: function uploadFile(context: BaseContext, config: UploadConfig): Promise<UploadTask>;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadConfig;
Method or attribute name: interface DownloadConfig
Old version information:
Class name: DownloadConfig;
Method or attribute name: interface DownloadConfig
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadConfig;
Method or attribute name: url: string;
Old version information:
Class name: DownloadConfig;
Method or attribute name: url: string;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: UploadConfig;
Method or attribute name: url: string;
Old version information:
Class name: UploadConfig;
Method or attribute name: url: string;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadConfig;
Method or attribute name: header?: Object;
Old version information:
Class name: DownloadConfig;
Method or attribute name: header?: Object;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadConfig;
Method or attribute name: enableMetered?: boolean;
Old version information:
Class name: DownloadConfig;
Method or attribute name: enableMetered?: boolean;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadConfig;
Method or attribute name: enableRoaming?: boolean;
Old version information:
Class name: DownloadConfig;
Method or attribute name: enableRoaming?: boolean;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadConfig;
Method or attribute name: description?: string;
Old version information:
Class name: DownloadConfig;
Method or attribute name: description?: string;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadConfig;
Method or attribute name: networkType?: number;
Old version information:
Class name: DownloadConfig;
Method or attribute name: networkType?: number;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadConfig;
Method or attribute name: filePath?: string;
Old version information:
Class name: DownloadConfig;
Method or attribute name: filePath?: string;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadConfig;
Method or attribute name: title?: string;
Old version information:
Class name: DownloadConfig;
Method or attribute name: title?: string;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadConfig;
Method or attribute name: background?: boolean;
Old version information:
Class name: DownloadConfig;
Method or attribute name: background?: boolean;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadInfo;
Method or attribute name: interface DownloadInfo
Old version information:
Class name: DownloadInfo;
Method or attribute name: interface DownloadInfo
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadInfo;
Method or attribute name: description: string;
Old version information:
Class name: DownloadInfo;
Method or attribute name: description: string;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadInfo;
Method or attribute name: downloadedBytes: number;
Old version information:
Class name: DownloadInfo;
Method or attribute name: downloadedBytes: number;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadInfo;
Method or attribute name: downloadId: number;
Old version information:
Class name: DownloadInfo;
Method or attribute name: downloadId: number;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadInfo;
Method or attribute name: failedReason: number;
Old version information:
Class name: DownloadInfo;
Method or attribute name: failedReason: number;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadInfo;
Method or attribute name: fileName: string;
Old version information:
Class name: DownloadInfo;
Method or attribute name: fileName: string;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadInfo;
Method or attribute name: filePath: string;
Old version information:
Class name: DownloadInfo;
Method or attribute name: filePath: string;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadInfo;
Method or attribute name: pausedReason: number;
Old version information:
Class name: DownloadInfo;
Method or attribute name: pausedReason: number;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadInfo;
Method or attribute name: status: number;
Old version information:
Class name: DownloadInfo;
Method or attribute name: status: number;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadInfo;
Method or attribute name: targetURI: string;
Old version information:
Class name: DownloadInfo;
Method or attribute name: targetURI: string;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadInfo;
Method or attribute name: downloadTitle: string;
Old version information:
Class name: DownloadInfo;
Method or attribute name: downloadTitle: string;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadInfo;
Method or attribute name: downloadTotalBytes: number;
Old version information:
Class name: DownloadInfo;
Method or attribute name: downloadTotalBytes: number;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadTask;
Method or attribute name: interface DownloadTask
Old version information:
Class name: DownloadTask;
Method or attribute name: interface DownloadTask
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadTask;
Method or attribute name: on(type: 'progress', callback: (receivedSize: number, totalSize: number) => void): void;
Old version information:
Class name: DownloadTask;
Method or attribute name: on(type: 'progress', callback: (receivedSize: number, totalSize: number) => void): void;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadTask;
Method or attribute name: on(type: 'complete' | 'pause' | 'remove', callback: () => void): void;
Old version information:
Class name: DownloadTask;
Method or attribute name: on(type: 'complete' | 'pause' | 'remove', callback: () => void): void;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadTask;
Method or attribute name: on(type: 'fail', callback: (err: number) => void): void;
Old version information:
Class name: DownloadTask;
Method or attribute name: on(type: 'fail', callback: (err: number) => void): void;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadTask;
Method or attribute name: off(type: 'progress', callback?: (receivedSize: number, totalSize: number) => void): void;
Old version information:
Class name: DownloadTask;
Method or attribute name: off(type: 'progress', callback?: (receivedSize: number, totalSize: number) => void): void;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadTask;
Method or attribute name: off(type: 'complete' | 'pause' | 'remove', callback?: () => void): void;
Old version information:
Class name: DownloadTask;
Method or attribute name: off(type: 'complete' | 'pause' | 'remove', callback?: () => void): void;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadTask;
Method or attribute name: off(type: 'fail', callback?: (err: number) => void): void;
Old version information:
Class name: DownloadTask;
Method or attribute name: off(type: 'fail', callback?: (err: number) => void): void;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadTask;
Method or attribute name: delete(callback: AsyncCallback<boolean>): void;
Old version information:
Class name: DownloadTask;
Method or attribute name: delete(callback: AsyncCallback<boolean>): void;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: UploadTask;
Method or attribute name: delete(callback: AsyncCallback<boolean>): void;
Old version information:
Class name: UploadTask;
Method or attribute name: delete(callback: AsyncCallback<boolean>): void;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadTask;
Method or attribute name: delete(): Promise<boolean>;
Old version information:
Class name: DownloadTask;
Method or attribute name: delete(): Promise<boolean>;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: UploadTask;
Method or attribute name: delete(): Promise<boolean>;
Old version information:
Class name: UploadTask;
Method or attribute name: delete(): Promise<boolean>;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadTask;
Method or attribute name: suspend(callback: AsyncCallback<boolean>): void;
Old version information:
Class name: DownloadTask;
Method or attribute name: suspend(callback: AsyncCallback<boolean>): void;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadTask;
Method or attribute name: suspend(): Promise<boolean>;
Old version information:
Class name: DownloadTask;
Method or attribute name: suspend(): Promise<boolean>;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadTask;
Method or attribute name: restore(callback: AsyncCallback<boolean>): void;
Old version information:
Class name: DownloadTask;
Method or attribute name: restore(callback: AsyncCallback<boolean>): void;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadTask;
Method or attribute name: restore(): Promise<boolean>;
Old version information:
Class name: DownloadTask;
Method or attribute name: restore(): Promise<boolean>;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadTask;
Method or attribute name: getTaskInfo(callback: AsyncCallback<DownloadInfo>): void;
Old version information:
Class name: DownloadTask;
Method or attribute name: getTaskInfo(callback: AsyncCallback<DownloadInfo>): void;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadTask;
Method or attribute name: getTaskInfo(): Promise<DownloadInfo>;
Old version information:
Class name: DownloadTask;
Method or attribute name: getTaskInfo(): Promise<DownloadInfo>;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadTask;
Method or attribute name: getTaskMimeType(callback: AsyncCallback<string>): void;
Old version information:
Class name: DownloadTask;
Method or attribute name: getTaskMimeType(callback: AsyncCallback<string>): void;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: DownloadTask;
Method or attribute name: getTaskMimeType(): Promise<string>;
Old version information:
Class name: DownloadTask;
Method or attribute name: getTaskMimeType(): Promise<string>;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: File;
Method or attribute name: interface File
Old version information:
Class name: File;
Method or attribute name: interface File
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: File;
Method or attribute name: filename: string;
Old version information:
Class name: File;
Method or attribute name: filename: string;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: File;
Method or attribute name: name: string;
Old version information:
Class name: File;
Method or attribute name: name: string;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: RequestData;
Method or attribute name: name: string;
Old version information:
Class name: RequestData;
Method or attribute name: name: string;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: File;
Method or attribute name: uri: string;
Old version information:
Class name: File;
Method or attribute name: uri: string;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: File;
Method or attribute name: type: string;
Old version information:
Class name: File;
Method or attribute name: type: string;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: RequestData;
Method or attribute name: interface RequestData
Old version information:
Class name: RequestData;
Method or attribute name: interface RequestData
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: RequestData;
Method or attribute name: value: string;
Old version information:
Class name: RequestData;
Method or attribute name: value: string;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: UploadConfig;
Method or attribute name: interface UploadConfig
Old version information:
Class name: UploadConfig;
Method or attribute name: interface UploadConfig
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: UploadConfig;
Method or attribute name: header: Object;
Old version information:
Class name: UploadConfig;
Method or attribute name: header: Object;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: UploadConfig;
Method or attribute name: method: string;
Old version information:
Class name: UploadConfig;
Method or attribute name: method: string;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: UploadConfig;
Method or attribute name: files: Array<File>;
Old version information:
Class name: UploadConfig;
Method or attribute name: files: Array<File>;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: UploadConfig;
Method or attribute name: data: Array<RequestData>;
Old version information:
Class name: UploadConfig;
Method or attribute name: data: Array<RequestData>;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: TaskState;
Method or attribute name: interface TaskState
Old version information:
Class name: TaskState;
Method or attribute name: interface TaskState
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: TaskState;
Method or attribute name: path: string;
Old version information:
Class name: TaskState;
Method or attribute name: path: string;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: TaskState;
Method or attribute name: responseCode: number;
Old version information:
Class name: TaskState;
Method or attribute name: responseCode: number;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: TaskState;
Method or attribute name: message: string;
Old version information:
Class name: TaskState;
Method or attribute name: message: string;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: UploadTask;
Method or attribute name: interface UploadTask
Old version information:
Class name: UploadTask;
Method or attribute name: interface UploadTask
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: UploadTask;
Method or attribute name: on(type: 'progress', callback: (uploadedSize: number, totalSize: number) => void): void;
Old version information:
Class name: UploadTask;
Method or attribute name: on(type: 'progress', callback: (uploadedSize: number, totalSize: number) => void): void;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: UploadTask;
Method or attribute name: on(type: 'headerReceive', callback: (header: object) => void): void;
Old version information:
Class name: UploadTask;
Method or attribute name: on(type: 'headerReceive', callback: (header: object) => void): void;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: UploadTask;
Method or attribute name: on(type: 'complete' | 'fail', callback: Callback<Array<TaskState>>): void;
Old version information:
Class name: UploadTask;
Method or attribute name: on(type: 'complete' | 'fail', callback: Callback<Array<TaskState>>): void;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: UploadTask;
Method or attribute name: off(type: 'progress', callback?: (uploadedSize: number, totalSize: number) => void): void;
Old version information:
Class name: UploadTask;
Method or attribute name: off(type: 'progress', callback?: (uploadedSize: number, totalSize: number) => void): void;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: UploadTask;
Method or attribute name: off(type: 'headerReceive', callback?: (header: object) => void): void;
Old version information:
Class name: UploadTask;
Method or attribute name: off(type: 'headerReceive', callback?: (header: object) => void): void;
New version information: crossplatform
@ohos.request.d.ts
Cross-platform capability changed Class name: UploadTask;
Method or attribute name: off(type: 'complete' | 'fail', callback?: Callback<Array<TaskState>>): void;
Old version information:
Class name: UploadTask;
Method or attribute name: off(type: 'complete' | 'fail', callback?: Callback<Array<TaskState>>): void;
New version information: crossplatform
@ohos.request.d.ts