openharmony 鸿蒙 js-apidiff-MediaLibraryKit

2026-08-25 浏览 (1)

Change TypeOld VersionNew Versiond.ts File
New APINAClass name: AlbumPickerComponent;
API declaration: onEmptyAreaClick?: EmptyAreaClickCallback;
Differences: onEmptyAreaClick?: EmptyAreaClickCallback;
api/@ohos.file.AlbumPickerComponent.d.ets
New APINAClass name: global;
API declaration: export type EmptyAreaClickCallback = () => void;
Differences: export type EmptyAreaClickCallback = () => void;
api/@ohos.file.AlbumPickerComponent.d.ets
New APINAClass name: AlbumPickerOptions;
API declaration: filterType?: photoAccessHelper.PhotoViewMIMETypes;
Differences: filterType?: photoAccessHelper.PhotoViewMIMETypes;
api/@ohos.file.AlbumPickerComponent.d.ets
New APINAClass name: PhotoPickerComponent;
API declaration: onSelectedItemsDeleted?: ItemsDeletedCallback;
Differences: onSelectedItemsDeleted?: ItemsDeletedCallback;
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: PhotoPickerComponent;
API declaration: onExceedMaxSelected?: ExceedMaxSelectedCallback;
Differences: onExceedMaxSelected?: ExceedMaxSelectedCallback;
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: PhotoPickerComponent;
API declaration: onCurrentAlbumDeleted?: CurrentAlbumDeletedCallback;
Differences: onCurrentAlbumDeleted?: CurrentAlbumDeletedCallback;
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: global;
API declaration: export type ItemsDeletedCallback = (baseItemInfos: Array<BaseItemInfo>) => void;
Differences: export type ItemsDeletedCallback = (baseItemInfos: Array<BaseItemInfo>) => void;
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: global;
API declaration: export type ExceedMaxSelectedCallback = (exceedMaxCountType: MaxCountType) => void;
Differences: export type ExceedMaxSelectedCallback = (exceedMaxCountType: MaxCountType) => void;
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: global;
API declaration: export type CurrentAlbumDeletedCallback = () => void;
Differences: export type CurrentAlbumDeletedCallback = () => void;
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: PickerController;
API declaration: exitPhotoBrowser(): void;
Differences: exitPhotoBrowser(): void;
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: PickerController;
API declaration: setPhotoBrowserUIElementVisibility(elements: Array<PhotoBrowserUIElement>, isVisible: boolean): void;
Differences: setPhotoBrowserUIElementVisibility(elements: Array<PhotoBrowserUIElement>, isVisible: boolean): void;
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: PickerOptions;
API declaration: isSlidingSelectionSupported?: boolean;
Differences: isSlidingSelectionSupported?: boolean;
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: PickerOptions;
API declaration: photoBrowserCheckboxPosition?: [
number,
number
];
Differences: photoBrowserCheckboxPosition?: [
number,
number
];
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: global;
API declaration: export declare enum PhotoBrowserUIElement
Differences: export declare enum PhotoBrowserUIElement
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: PhotoBrowserUIElement;
API declaration: CHECKBOX = 0
Differences: CHECKBOX = 0
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: PhotoBrowserUIElement;
API declaration: BACK_BUTTON = 1
Differences: BACK_BUTTON = 1
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: RecentPhotoComponent;
API declaration: onRecentPhotoCheckInfo?: RecentPhotoCheckInfoCallback;
Differences: onRecentPhotoCheckInfo?: RecentPhotoCheckInfoCallback;
api/@ohos.file.RecentPhotoComponent.d.ets
New APINAClass name: global;
API declaration: export type RecentPhotoCheckInfoCallback = (recentPhotoExists: boolean, info: RecentPhotoInfo) => void;
Differences: export type RecentPhotoCheckInfoCallback = (recentPhotoExists: boolean, info: RecentPhotoInfo) => void;
api/@ohos.file.RecentPhotoComponent.d.ets
New APINAClass name: global;
API declaration: export declare class RecentPhotoInfo
Differences: export declare class RecentPhotoInfo
api/@ohos.file.RecentPhotoComponent.d.ets
New APINAClass name: RecentPhotoInfo;
API declaration: dateTaken?: number;
Differences: dateTaken?: number;
api/@ohos.file.RecentPhotoComponent.d.ets
New APINAClass name: RecentPhotoInfo;
API declaration: identifier?: string;
Differences: identifier?: string;
api/@ohos.file.RecentPhotoComponent.d.ets
New APINAClass name: MediaAssetChangeRequest;
API declaration: saveCameraPhoto(imageFileType: ImageFileType): void;
Differences: saveCameraPhoto(imageFileType: ImageFileType): void;
api/@ohos.file.photoAccessHelper.d.ts
New APINAClass name: photoAccessHelper;
API declaration: interface QuickImageDataHandler
Differences: interface QuickImageDataHandler
api/@ohos.file.photoAccessHelper.d.ts
New APINAClass name: QuickImageDataHandler;
API declaration: onDataPrepared(data: T, imageSource: image.ImageSource, map: Map<string, string>): void;
Differences: onDataPrepared(data: T, imageSource: image.ImageSource, map: Map<string, string>): void;
api/@ohos.file.photoAccessHelper.d.ts
New APINAClass name: MediaAssetManager;
API declaration: static quickRequestImage(context: Context, asset: PhotoAsset, requestOptions: RequestOptions, dataHandler: QuickImageDataHandler<image.Picture>): Promise<string>;
Differences: static quickRequestImage(context: Context, asset: PhotoAsset, requestOptions: RequestOptions, dataHandler: QuickImageDataHandler<image.Picture>): Promise<string>;
api/@ohos.file.photoAccessHelper.d.ts
New APINAClass name: PhotoKeys;
API declaration: DETAIL_TIME = 'detail_time'
Differences: DETAIL_TIME = 'detail_time'
api/@ohos.file.photoAccessHelper.d.ts
New APINAClass name: PhotoKeys;
API declaration: DATE_TAKEN_MS = 'date_taken_ms'
Differences: DATE_TAKEN_MS = 'date_taken_ms'
api/@ohos.file.photoAccessHelper.d.ts
New APINAClass name: photoAccessHelper;
API declaration: enum ImageFileType
Differences: enum ImageFileType
api/@ohos.file.photoAccessHelper.d.ts
New APINAClass name: ImageFileType;
API declaration: JPEG = 1
Differences: JPEG = 1
api/@ohos.file.photoAccessHelper.d.ts
New APINAClass name: ImageFileType;
API declaration: HEIF = 2
Differences: HEIF = 2
api/@ohos.file.photoAccessHelper.d.ts
New APINAClass name: MovingPhotoViewAttribute;
API declaration: onComplete(callback: MovingPhotoViewEventCallback): MovingPhotoViewAttribute;
Differences: onComplete(callback: MovingPhotoViewEventCallback): MovingPhotoViewAttribute;
api/@ohos.multimedia.movingphotoview.d.ts
New APINAClass name: MovingPhotoViewAttribute;
API declaration: autoPlayPeriod(startTime: number, endTime: number): MovingPhotoViewAttribute;
Differences: autoPlayPeriod(startTime: number, endTime: number): MovingPhotoViewAttribute;
api/@ohos.multimedia.movingphotoview.d.ts
New APINAClass name: MovingPhotoViewAttribute;
API declaration: autoPlay(isAutoPlay: boolean): MovingPhotoViewAttribute;
Differences: autoPlay(isAutoPlay: boolean): MovingPhotoViewAttribute;
api/@ohos.multimedia.movingphotoview.d.ts
New APINAClass name: MovingPhotoViewAttribute;
API declaration: repeatPlay(isRepeatPlay: boolean): MovingPhotoViewAttribute;
Differences: repeatPlay(isRepeatPlay: boolean): MovingPhotoViewAttribute;
api/@ohos.multimedia.movingphotoview.d.ts
New export symbolClass name: global;
API declaration: export type EmptyAreaClickCallback = () => void;
Differences: NA
Class name: global;
API declaration:
Differences: export type EmptyAreaClickCallback = () => void;
api/@ohos.file.AlbumPickerComponent.d.ets
New export symbolClass name: global;
API declaration: export type ItemsDeletedCallback = (baseItemInfos: Array<BaseItemInfo>) => void;
Differences: NA
Class name: global;
API declaration:
Differences: export type ItemsDeletedCallback = (baseItemInfos: Array<BaseItemInfo>) => void;
api/@ohos.file.PhotoPickerComponent.d.ets
New export symbolClass name: global;
API declaration: export type ExceedMaxSelectedCallback = (exceedMaxCountType: MaxCountType) => void;
Differences: NA
Class name: global;
API declaration:
Differences: export type ExceedMaxSelectedCallback = (exceedMaxCountType: MaxCountType) => void;
api/@ohos.file.PhotoPickerComponent.d.ets
New export symbolClass name: global;
API declaration: export type CurrentAlbumDeletedCallback = () => void;
Differences: NA
Class name: global;
API declaration:
Differences: export type CurrentAlbumDeletedCallback = () => void;
api/@ohos.file.PhotoPickerComponent.d.ets
New export symbolClass name: global;
API declaration: export declare enum PhotoBrowserUIElement
Differences: NA
Class name: global;
API declaration:
Differences: export declare enum PhotoBrowserUIElement
api/@ohos.file.PhotoPickerComponent.d.ets
New export symbolClass name: global;
API declaration: export type RecentPhotoCheckInfoCallback = (recentPhotoExists: boolean, info: RecentPhotoInfo) => void;
Differences: NA
Class name: global;
API declaration:
Differences: export type RecentPhotoCheckInfoCallback = (recentPhotoExists: boolean, info: RecentPhotoInfo) => void;
api/@ohos.file.RecentPhotoComponent.d.ets
New export symbolClass name: global;
API declaration: export declare class RecentPhotoInfo
Differences: NA
Class name: global;
API declaration:
Differences: export declare class RecentPhotoInfo
api/@ohos.file.RecentPhotoComponent.d.ets

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 js-apidiff-ArkGraphics2D

openharmony 鸿蒙 js-apidiff-MediaKit

openharmony 鸿蒙 js-apidiff-InputKit

openharmony 鸿蒙 js-apidiff-BasicServicesKit

openharmony 鸿蒙 js-apidiff-ConnectivityKit

openharmony 鸿蒙 js-apidiff-ArkWeb

openharmony 鸿蒙 js-apidiff-ArkData

openharmony 鸿蒙 js-apidiff-ArkTS

openharmony 鸿蒙 Readme-EN

openharmony 鸿蒙 js-apidiff-ImageKit

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/SohP4sI5