openharmony 鸿蒙 js-apidiff-MediaLibraryKit

2026-08-25 浏览 (1)

Change TypeOld VersionNew Versiond.ts File
New APINAClass name: PhotoPickerComponent;
API declaration: onVideoPlayStateChanged?: videoPlayStateChangedCallback;
DIfferences: onVideoPlayStateChanged?: videoPlayStateChangedCallback;
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: global;
API declaration: export type videoPlayStateChangedCallback = (state: VideoPlayerState) => void;
DIfferences: export type videoPlayStateChangedCallback = (state: VideoPlayerState) => void;
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: PickerOptions;
API declaration: gridMargin?: Margin;
DIfferences: gridMargin?: Margin;
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: PickerOptions;
API declaration: photoBrowserMargin?: Margin;
DIfferences: photoBrowserMargin?: Margin;
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: global;
API declaration: export declare enum VideoPlayerState
DIfferences: export declare enum VideoPlayerState
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: VideoPlayerState;
API declaration: PLAYING = 0
DIfferences: PLAYING = 0
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: VideoPlayerState;
API declaration: PAUSED = 1
DIfferences: PAUSED = 1
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: VideoPlayerState;
API declaration: STOPPED = 2
DIfferences: STOPPED = 2
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: VideoPlayerState;
API declaration: SEEK_START = 3
DIfferences: SEEK_START = 3
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: VideoPlayerState;
API declaration: SEEK_FINISH = 4
DIfferences: SEEK_FINISH = 4
api/@ohos.file.PhotoPickerComponent.d.ets
New APINAClass name: photoAccessHelper;
API declaration: enum CompleteButtonText
DIfferences: enum CompleteButtonText
api/@ohos.file.photoAccessHelper.d.ts
New APINAClass name: CompleteButtonText;
API declaration: TEXT_DONE = 0
DIfferences: TEXT_DONE = 0
api/@ohos.file.photoAccessHelper.d.ts
New APINAClass name: CompleteButtonText;
API declaration: TEXT_SEND = 1
DIfferences: TEXT_SEND = 1
api/@ohos.file.photoAccessHelper.d.ts
New APINAClass name: CompleteButtonText;
API declaration: TEXT_ADD = 2
DIfferences: TEXT_ADD = 2
api/@ohos.file.photoAccessHelper.d.ts
New APINAClass name: PhotoAsset;
API declaration: clone(title: string): Promise<PhotoAsset>;
DIfferences: clone(title: string): Promise<PhotoAsset>;
api/@ohos.file.photoAccessHelper.d.ts
New APINAClass name: PhotoAccessHelper;
API declaration: requestPhotoUrisReadPermission(srcFileUris: Array<string>): Promise<Array<string>>;
DIfferences: requestPhotoUrisReadPermission(srcFileUris: Array<string>): Promise<Array<string>>;
api/@ohos.file.photoAccessHelper.d.ts
New APINAClass name: PhotoSelectOptions;
API declaration: completeButtonText?: CompleteButtonText;
DIfferences: completeButtonText?: CompleteButtonText;
api/@ohos.file.photoAccessHelper.d.ts
New APINAClass name: sendablePhotoAccessHelper;
API declaration: enum PhotoSubtype
DIfferences: enum PhotoSubtype
api/@ohos.file.sendablePhotoAccessHelper.d.ets
New APINAClass name: PhotoSubtype;
API declaration: DEFAULT = 0
DIfferences: DEFAULT = 0
api/@ohos.file.sendablePhotoAccessHelper.d.ets
New APINAClass name: PhotoSubtype;
API declaration: MOVING_PHOTO = 3
DIfferences: MOVING_PHOTO = 3
api/@ohos.file.sendablePhotoAccessHelper.d.ets
New APINAClass name: PhotoSubtype;
API declaration: BURST = 4
DIfferences: BURST = 4
api/@ohos.file.sendablePhotoAccessHelper.d.ets
New APINAClass name: sendablePhotoAccessHelper;
API declaration: enum DynamicRangeType
DIfferences: enum DynamicRangeType
api/@ohos.file.sendablePhotoAccessHelper.d.ets
New APINAClass name: DynamicRangeType;
API declaration: SDR = 0
DIfferences: SDR = 0
api/@ohos.file.sendablePhotoAccessHelper.d.ets
New APINAClass name: DynamicRangeType;
API declaration: HDR = 1
DIfferences: HDR = 1
api/@ohos.file.sendablePhotoAccessHelper.d.ets
New support for atomic servicesClass name: photoAccessHelper;
API declaration: class MediaAssetManager
DIfferences: NA
Class name: photoAccessHelper;
API declaration: class MediaAssetManager
DIfferences: atomicservice
api/@ohos.file.photoAccessHelper.d.ts
New support for atomic servicesClass name: MediaAssetManager;
API declaration: static loadMovingPhoto(context: Context, imageFileUri: string, videoFileUri: string): Promise<MovingPhoto>;
DIfferences: NA
Class name: MediaAssetManager;
API declaration: static loadMovingPhoto(context: Context, imageFileUri: string, videoFileUri: string): Promise<MovingPhoto>;
DIfferences: atomicservice
api/@ohos.file.photoAccessHelper.d.ts
New export symbolClass name: global;
API declaration: export type videoPlayStateChangedCallback = (state: VideoPlayerState) => void;
DIfferences: NA
Class name: global;
API declaration:
DIfferences: export type videoPlayStateChangedCallback = (state: VideoPlayerState) => void;
api/@ohos.file.PhotoPickerComponent.d.ets
New export symbolClass name: global;
API declaration: export declare enum VideoPlayerState
DIfferences: NA
Class name: global;
API declaration:
DIfferences: export declare enum VideoPlayerState
api/@ohos.file.PhotoPickerComponent.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 鸿蒙 js-apidiff-TestKit

openharmony 鸿蒙 js-apidiff-DrmKit

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