| Change Type | Old Version | New Version | d.ts File |
|---|---|---|---|
| API cross-platform permission change | Class name: sendableImage; API declaration: type ISendable = lang.ISendable; DIfferences: NA | Class name: sendableImage; API declaration: type ISendable = lang.ISendable; DIfferences: crossplatform | api/@ohos.multimedia.sendableImage.d.ets |
| syscap change | Class name: sendableImage; API declaration: type ISendable = lang.ISendable; DIfferences: NA | Class name: sendableImage; API declaration: type ISendable = lang.ISendable; DIfferences: SystemCapability.Multimedia.Image.Core | api/@ohos.multimedia.sendableImage.d.ets |
| Deleted error code | Class name: AuxiliaryPicture; API declaration: writePixelsFromBuffer(data: ArrayBuffer): Promise<void>; DIfferences: 7600301,7600302 | Class name: AuxiliaryPicture; API declaration: writePixelsFromBuffer(data: ArrayBuffer): Promise<void>; DIfferences: NA | api/@ohos.multimedia.image.d.ts |
| Deleted error code | Class name: AuxiliaryPicture; API declaration: readPixelsToBuffer(): Promise<ArrayBuffer>; DIfferences: 7600301,7600302 | Class name: AuxiliaryPicture; API declaration: readPixelsToBuffer(): Promise<ArrayBuffer>; DIfferences: NA | api/@ohos.multimedia.image.d.ts |
| Deleted error code | Class name: Metadata; API declaration: clone(): Promise<Metadata>; DIfferences: 7600301,7600302 | Class name: Metadata; API declaration: clone(): Promise<Metadata>; DIfferences: NA | api/@ohos.multimedia.image.d.ts |
| Deleted error code | Class name: ImageSource; API declaration: createPixelMapList(options?: DecodingOptions): Promise<Array<PixelMap>>; DIfferences: 62980110,62980112,62980113,62980122 | Class name: ImageSource; API declaration: createPixelMapList(options?: DecodingOptions): Promise<Array<PixelMap>>; DIfferences: NA | api/@ohos.multimedia.image.d.ts |
| Deleted error code | Class name: ImageSource; API declaration: createPixelMapList(callback: AsyncCallback<Array<PixelMap>>): void; DIfferences: 62980110,62980112,62980113,62980122 | Class name: ImageSource; API declaration: createPixelMapList(callback: AsyncCallback<Array<PixelMap>>): void; DIfferences: NA | api/@ohos.multimedia.image.d.ts |
| Deleted error code | Class name: ImageSource; API declaration: createPixelMapList(options: DecodingOptions, callback: AsyncCallback<Array<PixelMap>>): void; DIfferences: 62980110,62980112,62980113,62980122 | Class name: ImageSource; API declaration: createPixelMapList(options: DecodingOptions, callback: AsyncCallback<Array<PixelMap>>): void; DIfferences: NA | api/@ohos.multimedia.image.d.ts |
| Deleted error code | Class name: ImageSource; API declaration: getDelayTimeList(): Promise<Array<number>>; DIfferences: 62980112,62980113,62980137 | Class name: ImageSource; API declaration: getDelayTimeList(): Promise<Array<number>>; DIfferences: NA | api/@ohos.multimedia.image.d.ts |
| Deleted error code | Class name: ImageSource; API declaration: getDelayTimeList(callback: AsyncCallback<Array<number>>): void; DIfferences: 62980112,62980113,62980137 | Class name: ImageSource; API declaration: getDelayTimeList(callback: AsyncCallback<Array<number>>): void; DIfferences: NA | api/@ohos.multimedia.image.d.ts |
| Deleted error code | Class name: ImageSource; API declaration: getFrameCount(): Promise<number>; DIfferences: 62980110 | Class name: ImageSource; API declaration: getFrameCount(): Promise<number>; DIfferences: NA | api/@ohos.multimedia.image.d.ts |
| Deleted error code | Class name: ImageSource; API declaration: getFrameCount(callback: AsyncCallback<number>): void; DIfferences: 62980110 | Class name: ImageSource; API declaration: getFrameCount(callback: AsyncCallback<number>): void; DIfferences: NA | api/@ohos.multimedia.image.d.ts |
| Deleted error code | Class name: ImageSource; API declaration: getImageProperty(key: PropertyKey, options?: ImagePropertyOptions): Promise<string>; DIfferences: 62980116 | Class name: ImageSource; API declaration: getImageProperty(key: PropertyKey, options?: ImagePropertyOptions): Promise<string>; DIfferences: NA | api/@ohos.multimedia.image.d.ts |
| Deleted error code | Class name: ImageSource; API declaration: modifyImageProperties(records: Record<PropertyKey, string |null>): Promise<void>; DIfferences: 62980133 | Class name: ImageSource; API declaration: modifyImageProperties(records: Record<PropertyKey, string |null>): Promise<void>; DIfferences: NA | api/@ohos.multimedia.image.d.ts |
| Function change | Class name: ImageCreator; API declaration: queueImage(interface: Image, callback: AsyncCallback<void>): void; DIfferences: interface: Image, callback: AsyncCallback<void> | Class name: ImageCreator; API declaration: queueImage(image: Image, callback: AsyncCallback<void>): void; DIfferences: image: Image, callback: AsyncCallback<void> | api/@ohos.multimedia.image.d.ts |
| Function change | Class name: ImageCreator; API declaration: queueImage(interface: Image): Promise<void>; DIfferences: interface: Image | Class name: ImageCreator; API declaration: queueImage(image: Image): Promise<void>; DIfferences: image: Image | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: global; API declaration: declare namespace videoProcessingEngine DIfferences: declare namespace videoProcessingEngine | api/@ohos.multimedia.videoProcessingEngine.d.ts |
| New API | NA | Class name: videoProcessingEngine; API declaration: enum QualityLevel DIfferences: enum QualityLevel | api/@ohos.multimedia.videoProcessingEngine.d.ts |
| New API | NA | Class name: QualityLevel; API declaration: NONE = 0 DIfferences: NONE = 0 | api/@ohos.multimedia.videoProcessingEngine.d.ts |
| New API | NA | Class name: QualityLevel; API declaration: LOW = 1 DIfferences: LOW = 1 | api/@ohos.multimedia.videoProcessingEngine.d.ts |
| New API | NA | Class name: QualityLevel; API declaration: MEDIUM = 2 DIfferences: MEDIUM = 2 | api/@ohos.multimedia.videoProcessingEngine.d.ts |
| New API | NA | Class name: QualityLevel; API declaration: HIGH = 3 DIfferences: HIGH = 3 | api/@ohos.multimedia.videoProcessingEngine.d.ts |
| New API | NA | Class name: videoProcessingEngine; API declaration: interface ImageProcessor DIfferences: interface ImageProcessor | api/@ohos.multimedia.videoProcessingEngine.d.ts |
| New API | NA | Class name: ImageProcessor; API declaration: enhanceDetail(sourceImage: image.PixelMap, width: number, height: number, level?: QualityLevel): Promise<image.PixelMap>; DIfferences: enhanceDetail(sourceImage: image.PixelMap, width: number, height: number, level?: QualityLevel): Promise<image.PixelMap>; | api/@ohos.multimedia.videoProcessingEngine.d.ts |
| New API | NA | Class name: ImageProcessor; API declaration: enhanceDetail(sourceImage: image.PixelMap, scale: number, level?: QualityLevel): Promise<image.PixelMap>; DIfferences: enhanceDetail(sourceImage: image.PixelMap, scale: number, level?: QualityLevel): Promise<image.PixelMap>; | api/@ohos.multimedia.videoProcessingEngine.d.ts |
| New API | NA | Class name: ImageProcessor; API declaration: enhanceDetailSync(sourceImage: image.PixelMap, width: number, height: number, level?: QualityLevel): image.PixelMap; DIfferences: enhanceDetailSync(sourceImage: image.PixelMap, width: number, height: number, level?: QualityLevel): image.PixelMap; | api/@ohos.multimedia.videoProcessingEngine.d.ts |
| New API | NA | Class name: ImageProcessor; API declaration: enhanceDetailSync(sourceImage: image.PixelMap, scale: number, level?: QualityLevel): image.PixelMap; DIfferences: enhanceDetailSync(sourceImage: image.PixelMap, scale: number, level?: QualityLevel): image.PixelMap; | api/@ohos.multimedia.videoProcessingEngine.d.ts |
| New API | NA | Class name: videoProcessingEngine; API declaration: function initializeEnvironment(): Promise<void>; DIfferences: function initializeEnvironment(): Promise<void>; | api/@ohos.multimedia.videoProcessingEngine.d.ts |
| New API | NA | Class name: videoProcessingEngine; API declaration: function deinitializeEnvironment(): Promise<void>; DIfferences: function deinitializeEnvironment(): Promise<void>; | api/@ohos.multimedia.videoProcessingEngine.d.ts |
| New API | NA | Class name: videoProcessingEngine; API declaration: function create(): ImageProcessor; DIfferences: function create(): ImageProcessor; | api/@ohos.multimedia.videoProcessingEngine.d.ts |
| New API | NA | Class name: image; API declaration: function createPixelMapFromSurface(surfaceId: string): Promise<PixelMap>; DIfferences: function createPixelMapFromSurface(surfaceId: string): Promise<PixelMap>; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: image; API declaration: function createPixelMapFromSurfaceSync(surfaceId: string): PixelMap; DIfferences: function createPixelMapFromSurfaceSync(surfaceId: string): PixelMap; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: PixelMapFormat; API declaration: ARGB_8888 = 1 DIfferences: ARGB_8888 = 1 | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: PixelMapFormat; API declaration: ASTC_4x4 = 102 DIfferences: ASTC_4x4 = 102 | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: image; API declaration: enum AllocatorType DIfferences: enum AllocatorType | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: AllocatorType; API declaration: AUTO = 0 DIfferences: AUTO = 0 | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: AllocatorType; API declaration: DMA = 1 DIfferences: DMA = 1 | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: AllocatorType; API declaration: SHARE_MEMORY = 2 DIfferences: SHARE_MEMORY = 2 | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: image; API declaration: enum CropAndScaleStrategy DIfferences: enum CropAndScaleStrategy | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: CropAndScaleStrategy; API declaration: SCALE_FIRST = 1 DIfferences: SCALE_FIRST = 1 | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: CropAndScaleStrategy; API declaration: CROP_FIRST = 2 DIfferences: CROP_FIRST = 2 | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: image; API declaration: interface PackingOptionsForSequence DIfferences: interface PackingOptionsForSequence | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: PackingOptionsForSequence; API declaration: frameCount: number; DIfferences: frameCount: number; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: PackingOptionsForSequence; API declaration: delayTimeList: Array<number>; DIfferences: delayTimeList: Array<number>; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: PackingOptionsForSequence; API declaration: disposalTypes?: Array<number>; DIfferences: disposalTypes?: Array<number>; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: PackingOptionsForSequence; API declaration: loopCount?: number; DIfferences: loopCount?: number; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: DecodingOptions; API declaration: cropAndScaleStrategy?: CropAndScaleStrategy; DIfferences: cropAndScaleStrategy?: CropAndScaleStrategy; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: image; API declaration: function createPixelMapUsingAllocator(colors: ArrayBuffer, param: InitializationOptions, allocatorType?: AllocatorType): Promise<PixelMap>; DIfferences: function createPixelMapUsingAllocator(colors: ArrayBuffer, param: InitializationOptions, allocatorType?: AllocatorType): Promise<PixelMap>; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: image; API declaration: function createPixelMapUsingAllocatorSync(colors: ArrayBuffer, param: InitializationOptions, allocatorType?: AllocatorType): PixelMap; DIfferences: function createPixelMapUsingAllocatorSync(colors: ArrayBuffer, param: InitializationOptions, allocatorType?: AllocatorType): PixelMap; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: image; API declaration: function createPixelMapUsingAllocatorSync(param: InitializationOptions, allocatorType?: AllocatorType): PixelMap; DIfferences: function createPixelMapUsingAllocatorSync(param: InitializationOptions, allocatorType?: AllocatorType): PixelMap; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: PixelMap; API declaration: createScaledPixelMap(x: number, y: number, level?: AntiAliasingLevel): Promise<PixelMap>; DIfferences: createScaledPixelMap(x: number, y: number, level?: AntiAliasingLevel): Promise<PixelMap>; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: PixelMap; API declaration: createScaledPixelMapSync(x: number, y: number, level?: AntiAliasingLevel): PixelMap; DIfferences: createScaledPixelMapSync(x: number, y: number, level?: AntiAliasingLevel): PixelMap; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: PixelMap; API declaration: cloneSync(): PixelMap; DIfferences: cloneSync(): PixelMap; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: PixelMap; API declaration: clone(): Promise<PixelMap>; DIfferences: clone(): Promise<PixelMap>; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: MetadataType; API declaration: GIF_METADATA = 5 DIfferences: GIF_METADATA = 5 | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: image; API declaration: enum GifPropertyKey DIfferences: enum GifPropertyKey | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: GifPropertyKey; API declaration: GIF_DELAY_TIME = 'GifDelayTime' DIfferences: GIF_DELAY_TIME = 'GifDelayTime' | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: GifPropertyKey; API declaration: GIF_DISPOSAL_TYPE = 'GifDisposalType' DIfferences: GIF_DISPOSAL_TYPE = 'GifDisposalType' | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: ImageSource; API declaration: createPixelMapUsingAllocator(options?: DecodingOptions, allocatorType?: AllocatorType): Promise<PixelMap>; DIfferences: createPixelMapUsingAllocator(options?: DecodingOptions, allocatorType?: AllocatorType): Promise<PixelMap>; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: ImageSource; API declaration: createPixelMapUsingAllocatorSync(options?: DecodingOptions, allocatorType?: AllocatorType): PixelMap; DIfferences: createPixelMapUsingAllocatorSync(options?: DecodingOptions, allocatorType?: AllocatorType): PixelMap; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: ImageSource; API declaration: getImagePropertySync(key: PropertyKey): string; DIfferences: getImagePropertySync(key: PropertyKey): string; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: ImageSource; API declaration: createPictureAtIndex(index: number): Promise<Picture>; DIfferences: createPictureAtIndex(index: number): Promise<Picture>; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: ImagePacker; API declaration: packToDataFromPixelmapSequence(pixelmapSequence: Array<PixelMap>, options: PackingOptionsForSequence): Promise<ArrayBuffer>; DIfferences: packToDataFromPixelmapSequence(pixelmapSequence: Array<PixelMap>, options: PackingOptionsForSequence): Promise<ArrayBuffer>; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: ImagePacker; API declaration: packToFileFromPixelmapSequence(pixelmapSequence: Array<PixelMap>, fd: number, options: PackingOptionsForSequence): Promise<void>; DIfferences: packToFileFromPixelmapSequence(pixelmapSequence: Array<PixelMap>, fd: number, options: PackingOptionsForSequence): Promise<void>; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: image; API declaration: function getImageSourceSupportedFormats(): string[]; DIfferences: function getImageSourceSupportedFormats(): string[]; | api/@ohos.multimedia.image.d.ts |
| New API | NA | Class name: image; API declaration: function getImagePackerSupportedFormats(): string[]; DIfferences: function getImagePackerSupportedFormats(): string[]; | api/@ohos.multimedia.image.d.ts |
| Initial version change | Class name: sendableImage; API declaration: type ISendable = lang.ISendable; DIfferences: NA | Class name: sendableImage; API declaration: type ISendable = lang.ISendable; DIfferences: 12 | api/@ohos.multimedia.sendableImage.d.ets |
| New Kit | Class name: global; API declaration: DIfferences: NA | Class name: global; API declaration: api@ohos.multimedia.videoProcessingEngine.d.ts DIfferences: ImageKit | api/@ohos.multimedia.videoProcessingEngine.d.ts |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 js-apidiff-ArkGraphics2D
openharmony 鸿蒙 js-apidiff-ArkGraphics3D
openharmony 鸿蒙 js-apidiff-MediaKit
openharmony 鸿蒙 js-apidiff-InputKit
openharmony 鸿蒙 js-apidiff-BasicServicesKit
openharmony 鸿蒙 js-apidiff-ConnectivityKit
openharmony 鸿蒙 js-apidiff-ArkWeb
openharmony 鸿蒙 js-apidiff-MultimodalAwarenessKit