harmony 鸿蒙js-apidiff-misc

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

Change Type Old Version New Version d.ts File
Added NA Class name: ShareOption
Method or attribute name: INAPP
@ohos.pasteboard.d.ts
Added NA Class name: ShareOption
Method or attribute name: LOCALDEVICE
@ohos.pasteboard.d.ts
Added NA Class name: ShareOption
Method or attribute name: CROSSDEVICE
@ohos.pasteboard.d.ts
Added NA Class name: PasteDataRecord
Method or attribute name: toPlainText(): string;
@ohos.pasteboard.d.ts
Deleted Module name: ohos.pasteboard
Class name: ShareOption
Method or attribute name: InApp
NA @ohos.pasteboard.d.ts
Deleted Module name: ohos.pasteboard
Class name: ShareOption
Method or attribute name: LocalDevice
NA @ohos.pasteboard.d.ts
Deleted Module name: ohos.pasteboard
Class name: ShareOption
Method or attribute name: CrossDevice
NA @ohos.pasteboard.d.ts
Deleted Module name: ohos.pasteboard
Class name: PasteDataRecord
Method or attribute name: convertToTextV9(callback: AsyncCallback<string>): void;
NA @ohos.pasteboard.d.ts
Deleted Module name: ohos.pasteboard
Class name: PasteDataRecord
Method or attribute name: convertToTextV9(): Promise<string>;
NA @ohos.pasteboard.d.ts
Deleted Module name: ohos.request
Class name: request
Method or attribute name: function download(context: BaseContext, config: DownloadConfig, callback: AsyncCallback<DownloadTask>): void;
NA @ohos.request.d.ts
Deleted Module name: ohos.request
Class name: request
Method or attribute name: function download(context: BaseContext, config: DownloadConfig): Promise<DownloadTask>;
NA @ohos.request.d.ts
Deleted Module name: ohos.request
Class name: request
Method or attribute name: function upload(context: BaseContext, config: UploadConfig, callback: AsyncCallback<UploadTask>): void;
NA @ohos.request.d.ts
Deleted Module name: ohos.request
Class name: request
Method or attribute name: function upload(context: BaseContext, config: UploadConfig): Promise<UploadTask>;
NA @ohos.request.d.ts
Deleted Module name: ohos.screenLock
Class name: screenLock
Method or attribute name: function isSecure(): boolean;
NA @ohos.screenLock.d.ts
Deleted Module name: ohos.wallpaper
Class name: wallpaper
Method or attribute name: function getIdSync(wallpaperType: WallpaperType): number;
NA @ohos.wallpaper.d.ts
Deleted Module name: ohos.wallpaper
Class name: wallpaper
Method or attribute name: function getFileSync(wallpaperType: WallpaperType): number;
NA @ohos.wallpaper.d.ts
Deleted Module name: ohos.wallpaper
Class name: wallpaper
Method or attribute name: function isChangeAllowed(): boolean;
NA @ohos.wallpaper.d.ts
Deleted Module name: ohos.wallpaper
Class name: wallpaper
Method or attribute name: function isUserChangeAllowed(): boolean;
NA @ohos.wallpaper.d.ts
Model changed Class name: InputMethodExtensionAbility
Model: N/A
Class name: InputMethodExtensionAbility
Model: @StageModelOnly
@ohos.InputMethodExtensionAbility.d.ts
Model changed Class name: InputMethodExtensionAbility
Method or attribute name: context: InputMethodExtensionContext;
Model: N/A
Class name: InputMethodExtensionAbility
Method or attribute name: context: InputMethodExtensionContext;
Model: @StageModelOnly
@ohos.InputMethodExtensionAbility.d.ts
Model changed Class name: InputMethodExtensionAbility
Method or attribute name: onCreate(want: Want): void;
Model: N/A
Class name: InputMethodExtensionAbility
Method or attribute name: onCreate(want: Want): void;
Model: @StageModelOnly
@ohos.InputMethodExtensionAbility.d.ts
Model changed Class name: InputMethodExtensionAbility
Method or attribute name: onDestroy(): void;
Model: N/A
Class name: InputMethodExtensionAbility
Method or attribute name: onDestroy(): void;
Model: @StageModelOnly
@ohos.InputMethodExtensionAbility.d.ts
Model changed Class name: InputMethodExtensionContext
Model: N/A
Class name: InputMethodExtensionContext
Model: @StageModelOnly
@ohos.InputMethodExtensionContext.d.ts
Model changed Class name: InputMethodExtensionContext
Method or attribute name: destroy(callback: AsyncCallback<void>): void;
Model: N/A
Class name: InputMethodExtensionContext
Method or attribute name: destroy(callback: AsyncCallback<void>): void;
Model: @StageModelOnly
@ohos.InputMethodExtensionContext.d.ts
Model changed Class name: InputMethodExtensionContext
Method or attribute name: destroy(): Promise<void>;
Model: N/A
Class name: InputMethodExtensionContext
Method or attribute name: destroy(): Promise<void>;
Model: @StageModelOnly
@ohos.InputMethodExtensionContext.d.ts
Access level changed Class name: screenLock
Method or attribute name: function isLocked(): boolean;
Access level: public API
Class name: screenLock
Method or attribute name: function isLocked(): boolean;
Access level: system API
@ohos.screenLock.d.ts
Access level changed Class name: screenLock
Method or attribute name: function unlock(callback: AsyncCallback<boolean>): void;
Access level: public API
Class name: screenLock
Method or attribute name: function unlock(callback: AsyncCallback<boolean>): void;
Access level: system API
@ohos.screenLock.d.ts
Access level changed Class name: screenLock
Method or attribute name: function unlock():Promise<boolean>;
Access level: public API
Class name: screenLock
Method or attribute name: function unlock():Promise<boolean>;
Access level: system API
@ohos.screenLock.d.ts
Access level changed Class name: wallpaper
Method or attribute name: function getColorsSync(wallpaperType: WallpaperType): Array<RgbaColor>;
Access level: public API
Class name: wallpaper
Method or attribute name: function getColorsSync(wallpaperType: WallpaperType): Array<RgbaColor>;
Access level: system API
@ohos.wallpaper.d.ts
Access level changed Class name: wallpaper
Method or attribute name: function getMinHeightSync(): number;
Access level: public API
Class name: wallpaper
Method or attribute name: function getMinHeightSync(): number;
Access level: system API
@ohos.wallpaper.d.ts
Access level changed Class name: wallpaper
Method or attribute name: function getMinWidthSync(): number;
Access level: public API
Class name: wallpaper
Method or attribute name: function getMinWidthSync(): number;
Access level: system API
@ohos.wallpaper.d.ts
Access level changed Class name: wallpaper
Method or attribute name: function restore(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void;
Access level: public API
Class name: wallpaper
Method or attribute name: function restore(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void;
Access level: system API
@ohos.wallpaper.d.ts
Access level changed Class name: wallpaper
Method or attribute name: function restore(wallpaperType: WallpaperType): Promise<void>;
Access level: public API
Class name: wallpaper
Method or attribute name: function restore(wallpaperType: WallpaperType): Promise<void>;
Access level: system API
@ohos.wallpaper.d.ts
Access level changed Class name: wallpaper
Method or attribute name: function setImage(source: string |image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void;
Access level: public API
Class name: wallpaper
Method or attribute name: function setImage(source: string |image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void;
Access level: system API
@ohos.wallpaper.d.ts
Access level changed Class name: wallpaper
Method or attribute name: function setImage(source: string |image.PixelMap, wallpaperType: WallpaperType): Promise<void>;
Access level: public API
Class name: wallpaper
Method or attribute name: function setImage(source: string |image.PixelMap, wallpaperType: WallpaperType): Promise<void>;
Access level: system API
@ohos.wallpaper.d.ts
Deprecated version changed Class name: RgbaColor
Deprecated version: N/A
Class name: RgbaColor
Deprecated version: 9
Substitute API: N/A
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper
Method or attribute name: function on(type: ‘colorChange’, callback: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void;
Deprecated version: N/A
Class name: wallpaper
Method or attribute name: function on(type: ‘colorChange’, callback: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void;
Deprecated version: 9
Substitute API: N/A
@ohos.wallpaper.d.ts
Deprecated version changed Class name: wallpaper
Method or attribute name: function off(type: ‘colorChange’, callback?: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void;
Deprecated version: N/A
Class name: wallpaper
Method or attribute name: function off(type: ‘colorChange’, callback?: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void;
Deprecated version: 9
Substitute API: N/A
@ohos.wallpaper.d.ts
Initial version changed Class name: RgbaColor
Initial version: N/A
Class name: RgbaColor
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: WallpaperType
Initial version: N/A
Class name: WallpaperType
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function getColors(wallpaperType: WallpaperType, callback: AsyncCallback<Array<RgbaColor>>): void;
Initial version: N/A
Class name: wallpaper
Method or attribute name: function getColors(wallpaperType: WallpaperType, callback: AsyncCallback<Array<RgbaColor>>): void;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function getColors(wallpaperType: WallpaperType): Promise<Array<RgbaColor>>;
Initial version: N/A
Class name: wallpaper
Method or attribute name: function getColors(wallpaperType: WallpaperType): Promise<Array<RgbaColor>>;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function getId(wallpaperType: WallpaperType, callback: AsyncCallback<number>): void;
Initial version: N/A
Class name: wallpaper
Method or attribute name: function getId(wallpaperType: WallpaperType, callback: AsyncCallback<number>): void;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function getId(wallpaperType: WallpaperType): Promise<number>;
Initial version: N/A
Class name: wallpaper
Method or attribute name: function getId(wallpaperType: WallpaperType): Promise<number>;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function getMinHeight(callback: AsyncCallback<number>): void;
Initial version: N/A
Class name: wallpaper
Method or attribute name: function getMinHeight(callback: AsyncCallback<number>): void;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function getMinHeight(): Promise<number>;
Initial version: N/A
Class name: wallpaper
Method or attribute name: function getMinHeight(): Promise<number>;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function getMinWidth(callback: AsyncCallback<number>): void;
Initial version: N/A
Class name: wallpaper
Method or attribute name: function getMinWidth(callback: AsyncCallback<number>): void;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function getMinWidth(): Promise<number>;
Initial version: N/A
Class name: wallpaper
Method or attribute name: function getMinWidth(): Promise<number>;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function isChangePermitted(callback: AsyncCallback<boolean>): void;
Initial version: N/A
Class name: wallpaper
Method or attribute name: function isChangePermitted(callback: AsyncCallback<boolean>): void;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function isChangePermitted(): Promise<boolean>;
Initial version: N/A
Class name: wallpaper
Method or attribute name: function isChangePermitted(): Promise<boolean>;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function isOperationAllowed(callback: AsyncCallback<boolean>): void;
Initial version: N/A
Class name: wallpaper
Method or attribute name: function isOperationAllowed(callback: AsyncCallback<boolean>): void;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function isOperationAllowed(): Promise<boolean>;
Initial version: N/A
Class name: wallpaper
Method or attribute name: function isOperationAllowed(): Promise<boolean>;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function reset(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void;
Initial version: N/A
Class name: wallpaper
Method or attribute name: function reset(wallpaperType: WallpaperType, callback: AsyncCallback<void>): void;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function reset(wallpaperType: WallpaperType): Promise<void>;
Initial version: N/A
Class name: wallpaper
Method or attribute name: function reset(wallpaperType: WallpaperType): Promise<void>;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function setWallpaper(source: string |image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void;
Initial version: N/A
Class name: wallpaper
Method or attribute name: function setWallpaper(source: string |image.PixelMap, wallpaperType: WallpaperType, callback: AsyncCallback<void>): void;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function setWallpaper(source: string |image.PixelMap, wallpaperType: WallpaperType): Promise<void>;
Initial version: N/A
Class name: wallpaper
Method or attribute name: function setWallpaper(source: string |image.PixelMap, wallpaperType: WallpaperType): Promise<void>;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function getPixelMap(wallpaperType: WallpaperType, callback: AsyncCallback<image.PixelMap>): void;
Initial version: N/A
Class name: wallpaper
Method or attribute name: function getPixelMap(wallpaperType: WallpaperType, callback: AsyncCallback<image.PixelMap>): void;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function getPixelMap(wallpaperType: WallpaperType): Promise<image.PixelMap>;
Initial version: N/A
Class name: wallpaper
Method or attribute name: function getPixelMap(wallpaperType: WallpaperType): Promise<image.PixelMap>;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function on(type: ‘colorChange’, callback: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void;
Initial version: 9
Class name: wallpaper
Method or attribute name: function on(type: ‘colorChange’, callback: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: wallpaper
Method or attribute name: function off(type: ‘colorChange’, callback?: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void;
Initial version: 9
Class name: wallpaper
Method or attribute name: function off(type: ‘colorChange’, callback?: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void;
Initial version: 7
@ohos.wallpaper.d.ts
Initial version changed Class name: Request
Method or attribute name: static upload(options: UploadRequestOptions): void;
Initial version: N/A
Class name: Request
Method or attribute name: static upload(options: UploadRequestOptions): void;
Initial version: 3
@system.request.d.ts
Initial version changed Class name: Request
Method or attribute name: static download(options: DownloadRequestOptions): void;
Initial version: N/A
Class name: Request
Method or attribute name: static download(options: DownloadRequestOptions): void;
Initial version: 3
@system.request.d.ts
Initial version changed Class name: Request
Method or attribute name: static onDownloadComplete(options: OnDownloadCompleteOptions): void;
Initial version: N/A
Class name: Request
Method or attribute name: static onDownloadComplete(options: OnDownloadCompleteOptions): void;
Initial version: 3
@system.request.d.ts
Permission deleted Class name: InputMethodSetting
Method or attribute name: showOptionalInputMethods(callback: AsyncCallback<boolean>): void;
Permission: ohos.permission.CONNECT_IME_ABILITY
Class name: InputMethodSetting
Method or attribute name: showOptionalInputMethods(callback: AsyncCallback<boolean>): void;
Permission: N/A
@ohos.inputMethod.d.ts
Permission deleted Class name: InputMethodSetting
Method or attribute name: showOptionalInputMethods(): Promise<boolean>;
Permission: ohos.permission.CONNECT_IME_ABILITY
Class name: InputMethodSetting
Method or attribute name: showOptionalInputMethods(): Promise<boolean>;
Permission: N/A
@ohos.inputMethod.d.ts
Error code added NA Class name: screenLock
Method or attribute name: function isLocked(): boolean;
Error code: 202
@ohos.screenLock.d.ts
Error code added NA Class name: wallpaper
Method or attribute name: function getMinHeightSync(): number;
Error code: 202
@ohos.wallpaper.d.ts
Error code added NA Class name: wallpaper
Method or attribute name: function getMinWidthSync(): number;
Error code: 202
@ohos.wallpaper.d.ts
Permission added Class name: request
Method or attribute name: function uploadFile(context: BaseContext, config: UploadConfig, callback: AsyncCallback<UploadTask>): void;
Permission: N/A
Class name: request
Method or attribute name: function uploadFile(context: BaseContext, config: UploadConfig, callback: AsyncCallback<UploadTask>): void;
Permission: ohos.permission.INTERNET
@ohos.request.d.ts
SysCap changed Class name: wallpaper
Method or attribute name: function on(type: ‘colorChange’, callback: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void;
SysCap: N/A
Class name: wallpaper
Method or attribute name: function on(type: ‘colorChange’, callback: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void;
SysCap:SystemCapability.MiscServices.Wallpaper
@ohos.wallpaper.d.ts
SysCap changed Class name: wallpaper
Method or attribute name: function off(type: ‘colorChange’, callback?: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void;
SysCap: N/A
Class name: wallpaper
Method or attribute name: function off(type: ‘colorChange’, callback?: (colors: Array<RgbaColor>, wallpaperType: WallpaperType) => void): void;
SysCap:SystemCapability.MiscServices.Wallpaper
@ohos.wallpaper.d.ts

你可能感兴趣的鸿蒙文章

harmony 鸿蒙JS API Differences

harmony 鸿蒙js-apidiff-ability

harmony 鸿蒙js-apidiff-account

harmony 鸿蒙js-apidiff-application

harmony 鸿蒙js-apidiff-arkui

harmony 鸿蒙js-apidiff-battery

harmony 鸿蒙js-apidiff-bundle

harmony 鸿蒙js-apidiff-communication

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

harmony 鸿蒙js-apidiff-dfx

0  赞