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

type: 'wallpaperChange',

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

): void;|@ohos.wallpaper.d.ts| |新增|NA|类名:wallpaper;
方法or属性:function off(

type: 'wallpaperChange',

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

): void;|@ohos.wallpaper.d.ts| |新增|NA|类名:WallpaperResourceType;
方法or属性:DEFAULT|@ohos.wallpaper.d.ts| |新增|NA|类名:WallpaperResourceType;
方法or属性:PICTURE|@ohos.wallpaper.d.ts| |新增|NA|类名:WallpaperResourceType;
方法or属性:VIDEO|@ohos.wallpaper.d.ts| |新增|NA|类名:WallpaperResourceType;
方法or属性:PACKAGE|@ohos.wallpaper.d.ts| |新增|NA|类名:WallpaperExtensionAbility;
方法or属性:onCreate(want: object): void;|@ohos.WallpaperExtensionAbility.d.ts| |新增|NA|类名:WallpaperExtensionAbility;
方法or属性:onWallpaperChange(wallpaperType: number): void;|@ohos.WallpaperExtensionAbility.d.ts| |新增|NA|类名:WallpaperExtensionAbility;
方法or属性:onDestroy(): void;|@ohos.WallpaperExtensionAbility.d.ts| |废弃版本有变化|类名:PasteDataRecord;
方法or属性:convertToText(): Promise\;
旧版本信息:|类名:PasteDataRecord;
方法or属性:convertToText(): Promise\;
新版本信息:9
代替接口: ohos.pasteboard.pasteboard#convertToTextV9|@ohos.pasteboard.d.ts| |废弃版本有变化|类名:SystemPasteboard;
方法or属性:clear(): Promise\;
旧版本信息:|类名:SystemPasteboard;
方法or属性:clear(): Promise\;
新版本信息:9
代替接口: ohos.pasteboard.pasteboard#clearData|@ohos.pasteboard.d.ts| |废弃版本有变化|类名:SystemPasteboard;
方法or属性:getPasteData(): Promise\;
旧版本信息:|类名:SystemPasteboard;
方法or属性:getPasteData(): Promise\;
新版本信息:9
代替接口: ohos.pasteboard.pasteboard#getData|@ohos.pasteboard.d.ts| |废弃版本有变化|类名:SystemPasteboard;
方法or属性:hasPasteData(): Promise\;
旧版本信息:|类名:SystemPasteboard;
方法or属性:hasPasteData(): Promise\;
新版本信息:9
代替接口: ohos.pasteboard.pasteboard#hasData|@ohos.pasteboard.d.ts| |废弃版本有变化|类名:SystemPasteboard;
方法or属性:setPasteData(data: PasteData): Promise\;
旧版本信息:|类名:SystemPasteboard;
方法or属性:setPasteData(data: PasteData): Promise\;
新版本信息:9
代替接口: ohos.pasteboard.pasteboard#setData|@ohos.pasteboard.d.ts| |废弃版本有变化|类名:request;
方法or属性:function download(config: DownloadConfig): Promise\;
旧版本信息:9,|类名:request;
方法or属性:function download(config: DownloadConfig): Promise\;
新版本信息:9
代替接口: ohos.request.downloadFile|@ohos.request.d.ts| |废弃版本有变化|类名:systemDateTime;
方法or属性:function setDate(date: Date, callback: AsyncCallback\): void;
旧版本信息:|类名:systemDateTime;
方法or属性:function setDate(date: Date, callback: AsyncCallback\): void;
新版本信息:10
代替接口: systemDateTime.setTime|@ohos.systemDateTime.d.ts| |废弃版本有变化|类名:systemDateTime;
方法or属性:function setDate(date: Date): Promise\;
旧版本信息:|类名:systemDateTime;
方法or属性:function setDate(date: Date): Promise\;
新版本信息:10
代替接口: systemDateTime.setTime|@ohos.systemDateTime.d.ts| |废弃版本有变化|类名:systemDateTime;
方法or属性:function getDate(callback: AsyncCallback\): void;
旧版本信息:|类名:systemDateTime;
方法or属性:function getDate(callback: AsyncCallback\): void;
新版本信息:10
代替接口: new|@ohos.systemDateTime.d.ts| |废弃版本有变化|类名:systemDateTime;
方法or属性:function getDate(): Promise\;
旧版本信息:|类名:systemDateTime;
方法or属性:function getDate(): Promise\;
新版本信息:10
代替接口: new|@ohos.systemDateTime.d.ts| |废弃版本有变化|类名:UploadResponse;
方法or属性:export interface UploadResponse
旧版本信息:9,|类名:UploadResponse;
方法or属性:export interface UploadResponse
新版本信息:9
代替接口: ohos.request|@system.request.d.ts| |新增(错误码)|类名:systemTime;
方法or属性:function setTime(time: number): Promise\;
旧版本信息:|类名:systemTime;
方法or属性:function setTime(time: number): Promise\;
新版本信息:-1|@ohos.systemTime.d.ts| |新增(错误码)|类名:systemTime;
方法or属性:function getCurrentTime(callback: AsyncCallback\): void;
旧版本信息:|类名:systemTime;
方法or属性:function getCurrentTime(callback: AsyncCallback\): void;
新版本信息:-1|@ohos.systemTime.d.ts| |新增(错误码)|类名:systemTime;
方法or属性:function getCurrentTime(isNano?: boolean): Promise\;
旧版本信息:|类名:systemTime;
方法or属性:function getCurrentTime(isNano?: boolean): Promise\;
新版本信息:-1|@ohos.systemTime.d.ts| |新增(错误码)|类名:systemTime;
方法or属性:function getRealActiveTime(callback: AsyncCallback\): void;
旧版本信息:|类名:systemTime;
方法or属性:function getRealActiveTime(callback: AsyncCallback\): void;
新版本信息:-1|@ohos.systemTime.d.ts| |新增(错误码)|类名:systemTime;
方法or属性:function getRealActiveTime(isNano?: boolean): Promise\;
旧版本信息:|类名:systemTime;
方法or属性:function getRealActiveTime(isNano?: boolean): Promise\;
新版本信息:-1|@ohos.systemTime.d.ts| |新增(错误码)|类名:systemTime;
方法or属性:function getRealTime(callback: AsyncCallback\): void;
旧版本信息:|类名:systemTime;
方法or属性:function getRealTime(callback: AsyncCallback\): void;
新版本信息:-1|@ohos.systemTime.d.ts| |新增(错误码)|类名:systemTime;
方法or属性:function getRealTime(isNano?: boolean): Promise\;
旧版本信息:|类名:systemTime;
方法or属性:function getRealTime(isNano?: boolean): Promise\;
新版本信息:-1|@ohos.systemTime.d.ts| |新增(错误码)|类名:systemTime;
方法or属性:function setDate(date: Date): Promise\;
旧版本信息:|类名:systemTime;
方法or属性:function setDate(date: Date): Promise\;
新版本信息:-1|@ohos.systemTime.d.ts| |新增(错误码)|类名:systemTime;
方法or属性:function getDate(): Promise\;
旧版本信息:|类名:systemTime;
方法or属性:function getDate(): Promise\;
新版本信息:-1|@ohos.systemTime.d.ts| |新增(错误码)|类名:systemTime;
方法or属性:function setTimezone(timezone: string): Promise\;
旧版本信息:|类名:systemTime;
方法or属性:function setTimezone(timezone: string): Promise\;
新版本信息:-1|@ohos.systemTime.d.ts| |新增(错误码)|类名:systemTime;
方法or属性:function getTimezone(): Promise\;
旧版本信息:|类名:systemTime;
方法or属性:function getTimezone(): Promise\;
新版本信息:-1|@ohos.systemTime.d.ts| |错误码有变化|类名:PasteData;
方法or属性:addRecord(mimeType: string, value: ValueType): void;
旧版本信息:401,12900002|类名:PasteData;
方法or属性:addRecord(mimeType: string, value: ValueType): void;
新版本信息:401|@ohos.pasteboard.d.ts| |错误码有变化|类名:screenLock;
方法or属性:function lock(callback: AsyncCallback\): void;
旧版本信息:401,13200002|类名:screenLock;
方法or属性:function lock(callback: AsyncCallback\): void;
新版本信息:401,201,202,13200002|@ohos.screenLock.d.ts| |错误码有变化|类名:screenLock;
方法or属性:function lock(): Promise\;
旧版本信息:13200002|类名:screenLock;
方法or属性:function lock(): Promise\;
新版本信息:201,202,13200002|@ohos.screenLock.d.ts| |错误码有变化|类名:screenLock;
方法or属性:function onSystemEvent(callback: Callback\): boolean;
旧版本信息:401,13200002|类名:screenLock;
方法or属性:function onSystemEvent(callback: Callback\): boolean;
新版本信息:401,201,202,13200002|@ohos.screenLock.d.ts| |错误码有变化|类名:screenLock;
方法or属性:function sendScreenLockEvent(event: String, parameter: number, callback: AsyncCallback\): void;
旧版本信息:401,13200002|类名:screenLock;
方法or属性:function sendScreenLockEvent(event: String, parameter: number, callback: AsyncCallback\): void;
新版本信息:401,201,202,13200002|@ohos.screenLock.d.ts| |错误码有变化|类名:screenLock;
方法or属性:function sendScreenLockEvent(event: String, parameter: number): Promise\;
旧版本信息:401,13200002|类名:screenLock;
方法or属性:function sendScreenLockEvent(event: String, parameter: number): Promise\;
新版本信息:401,201,202,13200002|@ohos.screenLock.d.ts| |错误码有变化|类名:systemDateTime;
方法or属性:function setTime(time: number, callback: AsyncCallback\): void;
旧版本信息:202,401|类名:systemDateTime;
方法or属性:function setTime(time: number, callback: AsyncCallback\): void;
新版本信息:201,202,401|@ohos.systemDateTime.d.ts| |错误码有变化|类名:systemDateTime;
方法or属性:function setTime(time: number): Promise\;
旧版本信息:202,401|类名:systemDateTime;
方法or属性:function setTime(time: number): Promise\;
新版本信息:201,202,401|@ohos.systemDateTime.d.ts| |错误码有变化|类名:systemDateTime;
方法or属性:function setDate(date: Date, callback: AsyncCallback\): void;
旧版本信息:202,401|类名:systemDateTime;
方法or属性:function setDate(date: Date, callback: AsyncCallback\): void;
新版本信息:201,202,401|@ohos.systemDateTime.d.ts| |错误码有变化|类名:systemDateTime;
方法or属性:function setDate(date: Date): Promise\;
旧版本信息:202,401|类名:systemDateTime;
方法or属性:function setDate(date: Date): Promise\;
新版本信息:201,202,401|@ohos.systemDateTime.d.ts| |错误码有变化|类名:systemDateTime;
方法or属性:function setTimezone(timezone: string, callback: AsyncCallback\): void;
旧版本信息:202,401|类名:systemDateTime;
方法or属性:function setTimezone(timezone: string, callback: AsyncCallback\): void;
新版本信息:201,202,401|@ohos.systemDateTime.d.ts| |错误码有变化|类名:systemDateTime;
方法or属性:function setTimezone(timezone: string): Promise\;
旧版本信息:202,401|类名:systemDateTime;
方法or属性:function setTimezone(timezone: string): Promise\;
新版本信息:201,202,401|@ohos.systemDateTime.d.ts| |错误码有变化|类名:wallpaper;
方法or属性:function getImage(wallpaperType: WallpaperType, callback: AsyncCallback\): void;
旧版本信息:401,201|类名:wallpaper;
方法or属性:function getImage(wallpaperType: WallpaperType, callback: AsyncCallback\): void;
新版本信息:401,201,202|@ohos.wallpaper.d.ts| |错误码有变化|类名:wallpaper;
方法or属性:function getImage(wallpaperType: WallpaperType): Promise\;
旧版本信息:401,201|类名:wallpaper;
方法or属性:function getImage(wallpaperType: WallpaperType): Promise\;
新版本信息:401,201,202|@ohos.wallpaper.d.ts| |权限有变化|类名:DownloadConfig;
方法or属性:background?: boolean;
旧版本信息:|类名:DownloadConfig;
方法or属性:background?: boolean;
新版本信息:ohos.permission.INTERNET|@ohos.request.d.ts| |权限有变化|类名:screenLock;
方法or属性:function lock(callback: AsyncCallback\): void;
旧版本信息:|类名:screenLock;
方法or属性:function lock(callback: AsyncCallback\): void;
新版本信息:ohos.permission.ACCESS_SCREEN_LOCK_INNER|@ohos.screenLock.d.ts| |权限有变化|类名:screenLock;
方法or属性:function lock(): Promise\;
旧版本信息:|类名:screenLock;
方法or属性:function lock(): Promise\;
新版本信息:ohos.permission.ACCESS_SCREEN_LOCK_INNER|@ohos.screenLock.d.ts| |权限有变化|类名:screenLock;
方法or属性:function onSystemEvent(callback: Callback\): boolean;
旧版本信息:|类名:screenLock;
方法or属性:function onSystemEvent(callback: Callback\): boolean;
新版本信息:ohos.permission.ACCESS_SCREEN_LOCK_INNER|@ohos.screenLock.d.ts| |权限有变化|类名:screenLock;
方法or属性:function sendScreenLockEvent(event: String, parameter: number, callback: AsyncCallback\): void;
旧版本信息:|类名:screenLock;
方法or属性:function sendScreenLockEvent(event: String, parameter: number, callback: AsyncCallback\): void;
新版本信息:ohos.permission.ACCESS_SCREEN_LOCK_INNER|@ohos.screenLock.d.ts| |权限有变化|类名:screenLock;
方法or属性:function sendScreenLockEvent(event: String, parameter: number): Promise\;
旧版本信息:|类名:screenLock;
方法or属性:function sendScreenLockEvent(event: String, parameter: number): Promise\;
新版本信息:ohos.permission.ACCESS_SCREEN_LOCK_INNER|@ohos.screenLock.d.ts| |权限有变化|类名:systemDateTime;
方法or属性:function setTime(time: number, callback: AsyncCallback\): void;
旧版本信息:|类名:systemDateTime;
方法or属性:function setTime(time: number, callback: AsyncCallback\): void;
新版本信息:ohos.permission.SET_TIME|@ohos.systemDateTime.d.ts| |权限有变化|类名:systemDateTime;
方法or属性:function setTime(time: number): Promise\;
旧版本信息:|类名:systemDateTime;
方法or属性:function setTime(time: number): Promise\;
新版本信息:ohos.permission.SET_TIME|@ohos.systemDateTime.d.ts| |权限有变化|类名:systemDateTime;
方法or属性:function setDate(date: Date, callback: AsyncCallback\): void;
旧版本信息:|类名:systemDateTime;
方法or属性:function setDate(date: Date, callback: AsyncCallback\): void;
新版本信息:ohos.permission.SET_TIME|@ohos.systemDateTime.d.ts| |权限有变化|类名:systemDateTime;
方法or属性:function setDate(date: Date): Promise\;
旧版本信息:|类名:systemDateTime;
方法or属性:function setDate(date: Date): Promise\;
新版本信息:ohos.permission.SET_TIME|@ohos.systemDateTime.d.ts| |权限有变化|类名:systemDateTime;
方法or属性:function setTimezone(timezone: string, callback: AsyncCallback\): void;
旧版本信息:|类名:systemDateTime;
方法or属性:function setTimezone(timezone: string, callback: AsyncCallback\): void;
新版本信息:ohos.permission.SET_TIME_ZONE|@ohos.systemDateTime.d.ts| |权限有变化|类名:systemDateTime;
方法or属性:function setTimezone(timezone: string): Promise\;
旧版本信息:|类名:systemDateTime;
方法or属性:function setTimezone(timezone: string): Promise\;
新版本信息:ohos.permission.SET_TIME_ZONE|@ohos.systemDateTime.d.ts| |权限有变化|类名:systemTime;
方法or属性:function setTime(time: number): Promise\;
旧版本信息:|类名:systemTime;
方法or属性:function setTime(time: number): Promise\;
新版本信息:ohos.permission.SET_TIME|@ohos.systemTime.d.ts| |权限有变化|类名:systemTime;
方法or属性:function setDate(date: Date): Promise\;
旧版本信息:|类名:systemTime;
方法or属性:function setDate(date: Date): Promise\;
新版本信息:ohos.permission.SET_TIME|@ohos.systemTime.d.ts| |权限有变化|类名:systemTime;
方法or属性:function setTimezone(timezone: string): Promise\;
旧版本信息:|类名:systemTime;
方法or属性:function setTimezone(timezone: string): Promise\;
新版本信息:ohos.permission.SET_TIME_ZONE|@ohos.systemTime.d.ts| |type有变化|类名:InputMethodProperty;
方法or属性:readonly iconId?: number;
旧版本信息:|类名:InputMethodProperty;
方法or属性:readonly iconId?: number;
新版本信息:?number|@ohos.inputMethod.d.ts| |type有变化|类名:InputMethodProperty;
方法or属性:extra?: object;
旧版本信息:|类名:InputMethodProperty;
方法or属性:extra?: object;
新版本信息:?object|@ohos.inputMethod.d.ts| |type有变化|类名:InputMethodSubtype;
方法or属性:extra?: object;
旧版本信息:|类名:InputMethodSubtype;
方法or属性:extra?: object;
新版本信息:?object|@ohos.InputMethodSubtype.d.ts| |type有变化|类名:pasteboard;
方法or属性:type ValueType = string \| image.PixelMap \| Want \| ArrayBuffer;
旧版本信息:|类名:pasteboard;
方法or属性:type ValueType = string \| image.PixelMap \| Want \| ArrayBuffer;
新版本信息:string \| image.PixelMap \| Want \| ArrayBuffer|@ohos.pasteboard.d.ts| |type有变化|类名:PasteDataProperty;
方法or属性:additions: {

[key: string]: object

}
旧版本信息:|类名:PasteDataProperty;
方法or属性:additions: {

[key: string]: object

}
新版本信息:[key: string]: object|@ohos.pasteboard.d.ts| |type有变化|类名:PasteDataProperty;
方法or属性:readonly mimeTypes: Array\;
旧版本信息:|类名:PasteDataProperty;
方法or属性:readonly mimeTypes: Array\;
新版本信息:Array\|@ohos.pasteboard.d.ts| |type有变化|类名:PasteDataProperty;
方法or属性:tag: string;
旧版本信息:|类名:PasteDataProperty;
方法or属性:tag: string;
新版本信息:string|@ohos.pasteboard.d.ts| |type有变化|类名:PasteDataProperty;
方法or属性:readonly timestamp: number;
旧版本信息:|类名:PasteDataProperty;
方法or属性:readonly timestamp: number;
新版本信息:number|@ohos.pasteboard.d.ts| |type有变化|类名:PasteDataProperty;
方法or属性:localOnly: boolean;
旧版本信息:|类名:PasteDataProperty;
方法or属性:localOnly: boolean;
新版本信息:boolean|@ohos.pasteboard.d.ts| |type有变化|类名:PasteDataRecord;
方法or属性:htmlText: string;
旧版本信息:|类名:PasteDataRecord;
方法or属性:htmlText: string;
新版本信息:string|@ohos.pasteboard.d.ts| |type有变化|类名:PasteDataRecord;
方法or属性:want: Want;
旧版本信息:|类名:PasteDataRecord;
方法or属性:want: Want;
新版本信息:Want|@ohos.pasteboard.d.ts| |type有变化|类名:PasteDataRecord;
方法or属性:mimeType: string;
旧版本信息:|类名:PasteDataRecord;
方法or属性:mimeType: string;
新版本信息:string|@ohos.pasteboard.d.ts| |type有变化|类名:PasteDataRecord;
方法or属性:plainText: string;
旧版本信息:|类名:PasteDataRecord;
方法or属性:plainText: string;
新版本信息:string|@ohos.pasteboard.d.ts| |type有变化|类名:PasteDataRecord;
方法or属性:uri: string;
旧版本信息:|类名:PasteDataRecord;
方法or属性:uri: string;
新版本信息:string|@ohos.pasteboard.d.ts| |type有变化|类名:DownloadConfig;
方法or属性:url: string;
旧版本信息:|类名:DownloadConfig;
方法or属性:url: string;
新版本信息:string|@ohos.request.d.ts| |type有变化|类名:UploadConfig;
方法or属性:url: string;
旧版本信息:|类名:UploadConfig;
方法or属性:url: string;
新版本信息:string|@ohos.request.d.ts| |type有变化|类名:DownloadConfig;
方法or属性:header?: Object;
旧版本信息:|类名:DownloadConfig;
方法or属性:header?: Object;
新版本信息:?Object|@ohos.request.d.ts| |type有变化|类名:DownloadConfig;
方法or属性:enableMetered?: boolean;
旧版本信息:|类名:DownloadConfig;
方法or属性:enableMetered?: boolean;
新版本信息:?boolean|@ohos.request.d.ts| |type有变化|类名:DownloadConfig;
方法or属性:enableRoaming?: boolean;
旧版本信息:|类名:DownloadConfig;
方法or属性:enableRoaming?: boolean;
新版本信息:?boolean|@ohos.request.d.ts| |type有变化|类名:DownloadConfig;
方法or属性:description?: string;
旧版本信息:|类名:DownloadConfig;
方法or属性:description?: string;
新版本信息:?string|@ohos.request.d.ts| |type有变化|类名:DownloadConfig;
方法or属性:networkType?: number;
旧版本信息:|类名:DownloadConfig;
方法or属性:networkType?: number;
新版本信息:?number|@ohos.request.d.ts| |type有变化|类名:DownloadConfig;
方法or属性:filePath?: string;
旧版本信息:|类名:DownloadConfig;
方法or属性:filePath?: string;
新版本信息:?string|@ohos.request.d.ts| |type有变化|类名:DownloadConfig;
方法or属性:title?: string;
旧版本信息:|类名:DownloadConfig;
方法or属性:title?: string;
新版本信息:?string|@ohos.request.d.ts| |type有变化|类名:DownloadConfig;
方法or属性:background?: boolean;
旧版本信息:|类名:DownloadConfig;
方法or属性:background?: boolean;
新版本信息:?boolean|@ohos.request.d.ts| |type有变化|类名:DownloadInfo;
方法or属性:description: string;
旧版本信息:|类名:DownloadInfo;
方法or属性:description: string;
新版本信息:string|@ohos.request.d.ts| |type有变化|类名:DownloadInfo;
方法or属性:downloadedBytes: number;
旧版本信息:|类名:DownloadInfo;
方法or属性:downloadedBytes: number;
新版本信息:number|@ohos.request.d.ts| |type有变化|类名:DownloadInfo;
方法or属性:downloadId: number;
旧版本信息:|类名:DownloadInfo;
方法or属性:downloadId: number;
新版本信息:number|@ohos.request.d.ts| |type有变化|类名:DownloadInfo;
方法or属性:failedReason: number;
旧版本信息:|类名:DownloadInfo;
方法or属性:failedReason: number;
新版本信息:number|@ohos.request.d.ts| |type有变化|类名:DownloadInfo;
方法or属性:fileName: string;
旧版本信息:|类名:DownloadInfo;
方法or属性:fileName: string;
新版本信息:string|@ohos.request.d.ts| |type有变化|类名:DownloadInfo;
方法or属性:filePath: string;
旧版本信息:|类名:DownloadInfo;
方法or属性:filePath: string;
新版本信息:string|@ohos.request.d.ts| |type有变化|类名:DownloadInfo;
方法or属性:pausedReason: number;
旧版本信息:|类名:DownloadInfo;
方法or属性:pausedReason: number;
新版本信息:number|@ohos.request.d.ts| |type有变化|类名:DownloadInfo;
方法or属性:status: number;
旧版本信息:|类名:DownloadInfo;
方法or属性:status: number;
新版本信息:number|@ohos.request.d.ts| |type有变化|类名:DownloadInfo;
方法or属性:targetURI: string;
旧版本信息:|类名:DownloadInfo;
方法or属性:targetURI: string;
新版本信息:string|@ohos.request.d.ts| |type有变化|类名:DownloadInfo;
方法or属性:downloadTitle: string;
旧版本信息:|类名:DownloadInfo;
方法or属性:downloadTitle: string;
新版本信息:string|@ohos.request.d.ts| |type有变化|类名:DownloadInfo;
方法or属性:downloadTotalBytes: number;
旧版本信息:|类名:DownloadInfo;
方法or属性:downloadTotalBytes: number;
新版本信息:number|@ohos.request.d.ts| |type有变化|类名:File;
方法or属性:filename: string;
旧版本信息:|类名:File;
方法or属性:filename: string;
新版本信息:string|@ohos.request.d.ts| |type有变化|类名:File;
方法or属性:name: string;
旧版本信息:|类名:File;
方法or属性:name: string;
新版本信息:string|@ohos.request.d.ts| |type有变化|类名:RequestData;
方法or属性:name: string;
旧版本信息:|类名:RequestData;
方法or属性:name: string;
新版本信息:string|@ohos.request.d.ts| |type有变化|类名:File;
方法or属性:uri: string;
旧版本信息:|类名:File;
方法or属性:uri: string;
新版本信息:string|@ohos.request.d.ts| |type有变化|类名:File;
方法or属性:type: string;
旧版本信息:|类名:File;
方法or属性:type: string;
新版本信息:string|@ohos.request.d.ts| |type有变化|类名:RequestData;
方法or属性:value: string;
旧版本信息:|类名:RequestData;
方法or属性:value: string;
新版本信息:string|@ohos.request.d.ts| |type有变化|类名:UploadConfig;
方法or属性:header: Object;
旧版本信息:|类名:UploadConfig;
方法or属性:header: Object;
新版本信息:Object|@ohos.request.d.ts| |type有变化|类名:UploadConfig;
方法or属性:method: string;
旧版本信息:|类名:UploadConfig;
方法or属性:method: string;
新版本信息:string|@ohos.request.d.ts| |type有变化|类名:UploadConfig;
方法or属性:files: Array\;
旧版本信息:|类名:UploadConfig;
方法or属性:files: Array\;
新版本信息:Array\|@ohos.request.d.ts| |type有变化|类名:UploadConfig;
方法or属性:data: Array\;
旧版本信息:|类名:UploadConfig;
方法or属性:data: Array\;
新版本信息:Array\|@ohos.request.d.ts| |type有变化|类名:TaskState;
方法or属性:path: string;
旧版本信息:|类名:TaskState;
方法or属性:path: string;
新版本信息:string|@ohos.request.d.ts| |type有变化|类名:TaskState;
方法or属性:responseCode: number;
旧版本信息:|类名:TaskState;
方法or属性:responseCode: number;
新版本信息:number|@ohos.request.d.ts| |type有变化|类名:TaskState;
方法or属性:message: string;
旧版本信息:|类名:TaskState;
方法or属性:message: string;
新版本信息:string|@ohos.request.d.ts| |函数有变化|类名:InputMethodProperty;
方法or属性:extra: object;|类名:InputMethodProperty;
方法or属性:extra?: object;|@ohos.inputMethod.d.ts| |函数有变化|类名:InputMethodSubtype;
方法or属性:extra: object;|类名:InputMethodSubtype;
方法or属性:extra?: object;|@ohos.InputMethodSubtype.d.ts| |跨平台能力有变化|类名:request;
方法or属性:function downloadFile(context: BaseContext, config: DownloadConfig, callback: AsyncCallback\): void;
旧版本信息:|类名:request;
方法or属性:function downloadFile(context: BaseContext, config: DownloadConfig, callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:request;
方法or属性:function downloadFile(context: BaseContext, config: DownloadConfig): Promise\;
旧版本信息:|类名:request;
方法or属性:function downloadFile(context: BaseContext, config: DownloadConfig): Promise\;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:request;
方法or属性:function uploadFile(context: BaseContext, config: UploadConfig, callback: AsyncCallback\): void;
旧版本信息:|类名:request;
方法or属性:function uploadFile(context: BaseContext, config: UploadConfig, callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:request;
方法or属性:function uploadFile(context: BaseContext, config: UploadConfig): Promise\;
旧版本信息:|类名:request;
方法or属性:function uploadFile(context: BaseContext, config: UploadConfig): Promise\;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadConfig;
方法or属性:interface DownloadConfig
旧版本信息:|类名:DownloadConfig;
方法or属性:interface DownloadConfig
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadConfig;
方法or属性:url: string;
旧版本信息:|类名:DownloadConfig;
方法or属性:url: string;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:UploadConfig;
方法or属性:url: string;
旧版本信息:|类名:UploadConfig;
方法or属性:url: string;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadConfig;
方法or属性:header?: Object;
旧版本信息:|类名:DownloadConfig;
方法or属性:header?: Object;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadConfig;
方法or属性:enableMetered?: boolean;
旧版本信息:|类名:DownloadConfig;
方法or属性:enableMetered?: boolean;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadConfig;
方法or属性:enableRoaming?: boolean;
旧版本信息:|类名:DownloadConfig;
方法or属性:enableRoaming?: boolean;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadConfig;
方法or属性:description?: string;
旧版本信息:|类名:DownloadConfig;
方法or属性:description?: string;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadConfig;
方法or属性:networkType?: number;
旧版本信息:|类名:DownloadConfig;
方法or属性:networkType?: number;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadConfig;
方法or属性:filePath?: string;
旧版本信息:|类名:DownloadConfig;
方法or属性:filePath?: string;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadConfig;
方法or属性:title?: string;
旧版本信息:|类名:DownloadConfig;
方法or属性:title?: string;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadConfig;
方法or属性:background?: boolean;
旧版本信息:|类名:DownloadConfig;
方法or属性:background?: boolean;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadInfo;
方法or属性:interface DownloadInfo
旧版本信息:|类名:DownloadInfo;
方法or属性:interface DownloadInfo
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadInfo;
方法or属性:description: string;
旧版本信息:|类名:DownloadInfo;
方法or属性:description: string;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadInfo;
方法or属性:downloadedBytes: number;
旧版本信息:|类名:DownloadInfo;
方法or属性:downloadedBytes: number;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadInfo;
方法or属性:downloadId: number;
旧版本信息:|类名:DownloadInfo;
方法or属性:downloadId: number;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadInfo;
方法or属性:failedReason: number;
旧版本信息:|类名:DownloadInfo;
方法or属性:failedReason: number;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadInfo;
方法or属性:fileName: string;
旧版本信息:|类名:DownloadInfo;
方法or属性:fileName: string;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadInfo;
方法or属性:filePath: string;
旧版本信息:|类名:DownloadInfo;
方法or属性:filePath: string;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadInfo;
方法or属性:pausedReason: number;
旧版本信息:|类名:DownloadInfo;
方法or属性:pausedReason: number;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadInfo;
方法or属性:status: number;
旧版本信息:|类名:DownloadInfo;
方法or属性:status: number;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadInfo;
方法or属性:targetURI: string;
旧版本信息:|类名:DownloadInfo;
方法or属性:targetURI: string;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadInfo;
方法or属性:downloadTitle: string;
旧版本信息:|类名:DownloadInfo;
方法or属性:downloadTitle: string;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadInfo;
方法or属性:downloadTotalBytes: number;
旧版本信息:|类名:DownloadInfo;
方法or属性:downloadTotalBytes: number;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadTask;
方法or属性:interface DownloadTask
旧版本信息:|类名:DownloadTask;
方法or属性:interface DownloadTask
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadTask;
方法or属性:on(type: 'progress', callback: (receivedSize: number, totalSize: number) => void): void;
旧版本信息:|类名:DownloadTask;
方法or属性:on(type: 'progress', callback: (receivedSize: number, totalSize: number) => void): void;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadTask;
方法or属性:on(type: 'complete' \| 'pause' \| 'remove', callback: () => void): void;
旧版本信息:|类名:DownloadTask;
方法or属性:on(type: 'complete' \| 'pause' \| 'remove', callback: () => void): void;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadTask;
方法or属性:on(type: 'fail', callback: (err: number) => void): void;
旧版本信息:|类名:DownloadTask;
方法or属性:on(type: 'fail', callback: (err: number) => void): void;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadTask;
方法or属性:off(type: 'progress', callback?: (receivedSize: number, totalSize: number) => void): void;
旧版本信息:|类名:DownloadTask;
方法or属性:off(type: 'progress', callback?: (receivedSize: number, totalSize: number) => void): void;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadTask;
方法or属性:off(type: 'complete' \| 'pause' \| 'remove', callback?: () => void): void;
旧版本信息:|类名:DownloadTask;
方法or属性:off(type: 'complete' \| 'pause' \| 'remove', callback?: () => void): void;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadTask;
方法or属性:off(type: 'fail', callback?: (err: number) => void): void;
旧版本信息:|类名:DownloadTask;
方法or属性:off(type: 'fail', callback?: (err: number) => void): void;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadTask;
方法or属性:delete(callback: AsyncCallback\): void;
旧版本信息:|类名:DownloadTask;
方法or属性:delete(callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:UploadTask;
方法or属性:delete(callback: AsyncCallback\): void;
旧版本信息:|类名:UploadTask;
方法or属性:delete(callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadTask;
方法or属性:delete(): Promise\;
旧版本信息:|类名:DownloadTask;
方法or属性:delete(): Promise\;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:UploadTask;
方法or属性:delete(): Promise\;
旧版本信息:|类名:UploadTask;
方法or属性:delete(): Promise\;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadTask;
方法or属性:suspend(callback: AsyncCallback\): void;
旧版本信息:|类名:DownloadTask;
方法or属性:suspend(callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadTask;
方法or属性:suspend(): Promise\;
旧版本信息:|类名:DownloadTask;
方法or属性:suspend(): Promise\;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadTask;
方法or属性:restore(callback: AsyncCallback\): void;
旧版本信息:|类名:DownloadTask;
方法or属性:restore(callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadTask;
方法or属性:restore(): Promise\;
旧版本信息:|类名:DownloadTask;
方法or属性:restore(): Promise\;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadTask;
方法or属性:getTaskInfo(callback: AsyncCallback\): void;
旧版本信息:|类名:DownloadTask;
方法or属性:getTaskInfo(callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadTask;
方法or属性:getTaskInfo(): Promise\;
旧版本信息:|类名:DownloadTask;
方法or属性:getTaskInfo(): Promise\;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadTask;
方法or属性:getTaskMimeType(callback: AsyncCallback\): void;
旧版本信息:|类名:DownloadTask;
方法or属性:getTaskMimeType(callback: AsyncCallback\): void;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:DownloadTask;
方法or属性:getTaskMimeType(): Promise\;
旧版本信息:|类名:DownloadTask;
方法or属性:getTaskMimeType(): Promise\;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:File;
方法or属性:interface File
旧版本信息:|类名:File;
方法or属性:interface File
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:File;
方法or属性:filename: string;
旧版本信息:|类名:File;
方法or属性:filename: string;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:File;
方法or属性:name: string;
旧版本信息:|类名:File;
方法or属性:name: string;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:RequestData;
方法or属性:name: string;
旧版本信息:|类名:RequestData;
方法or属性:name: string;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:File;
方法or属性:uri: string;
旧版本信息:|类名:File;
方法or属性:uri: string;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:File;
方法or属性:type: string;
旧版本信息:|类名:File;
方法or属性:type: string;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:RequestData;
方法or属性:interface RequestData
旧版本信息:|类名:RequestData;
方法or属性:interface RequestData
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:RequestData;
方法or属性:value: string;
旧版本信息:|类名:RequestData;
方法or属性:value: string;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:UploadConfig;
方法or属性:interface UploadConfig
旧版本信息:|类名:UploadConfig;
方法or属性:interface UploadConfig
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:UploadConfig;
方法or属性:header: Object;
旧版本信息:|类名:UploadConfig;
方法or属性:header: Object;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:UploadConfig;
方法or属性:method: string;
旧版本信息:|类名:UploadConfig;
方法or属性:method: string;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:UploadConfig;
方法or属性:files: Array\;
旧版本信息:|类名:UploadConfig;
方法or属性:files: Array\;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:UploadConfig;
方法or属性:data: Array\;
旧版本信息:|类名:UploadConfig;
方法or属性:data: Array\;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:TaskState;
方法or属性:interface TaskState
旧版本信息:|类名:TaskState;
方法or属性:interface TaskState
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:TaskState;
方法or属性:path: string;
旧版本信息:|类名:TaskState;
方法or属性:path: string;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:TaskState;
方法or属性:responseCode: number;
旧版本信息:|类名:TaskState;
方法or属性:responseCode: number;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:TaskState;
方法or属性:message: string;
旧版本信息:|类名:TaskState;
方法or属性:message: string;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:UploadTask;
方法or属性:interface UploadTask
旧版本信息:|类名:UploadTask;
方法or属性:interface UploadTask
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:UploadTask;
方法or属性:on(type: 'progress', callback: (uploadedSize: number, totalSize: number) => void): void;
旧版本信息:|类名:UploadTask;
方法or属性:on(type: 'progress', callback: (uploadedSize: number, totalSize: number) => void): void;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:UploadTask;
方法or属性:on(type: 'headerReceive', callback: (header: object) => void): void;
旧版本信息:|类名:UploadTask;
方法or属性:on(type: 'headerReceive', callback: (header: object) => void): void;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:UploadTask;
方法or属性:on(type: 'complete' \| 'fail', callback: Callback\>): void;
旧版本信息:|类名:UploadTask;
方法or属性:on(type: 'complete' \| 'fail', callback: Callback\>): void;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:UploadTask;
方法or属性:off(type: 'progress', callback?: (uploadedSize: number, totalSize: number) => void): void;
旧版本信息:|类名:UploadTask;
方法or属性:off(type: 'progress', callback?: (uploadedSize: number, totalSize: number) => void): void;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:UploadTask;
方法or属性:off(type: 'headerReceive', callback?: (header: object) => void): void;
旧版本信息:|类名:UploadTask;
方法or属性:off(type: 'headerReceive', callback?: (header: object) => void): void;
新版本信息:crossplatform|@ohos.request.d.ts| |跨平台能力有变化|类名:UploadTask;
方法or属性:off(type: 'complete' \| 'fail', callback?: Callback\>): void;
旧版本信息:|类名:UploadTask;
方法or属性:off(type: 'complete' \| 'fail', callback?: Callback\>): void;
新版本信息:crossplatform|@ohos.request.d.ts|