| Change Type | Old Version | New Version | d.ts File |
|---|---|---|---|
| New API | NA | Class name: PhotoPickerComponent; API declaration: onVideoPlayStateChanged?: videoPlayStateChangedCallback; DIfferences: onVideoPlayStateChanged?: videoPlayStateChangedCallback; | api/@ohos.file.PhotoPickerComponent.d.ets |
| New API | NA | Class name: global; API declaration: export type videoPlayStateChangedCallback = (state: VideoPlayerState) => void; DIfferences: export type videoPlayStateChangedCallback = (state: VideoPlayerState) => void; | api/@ohos.file.PhotoPickerComponent.d.ets |
| New API | NA | Class name: PickerOptions; API declaration: gridMargin?: Margin; DIfferences: gridMargin?: Margin; | api/@ohos.file.PhotoPickerComponent.d.ets |
| New API | NA | Class name: PickerOptions; API declaration: photoBrowserMargin?: Margin; DIfferences: photoBrowserMargin?: Margin; | api/@ohos.file.PhotoPickerComponent.d.ets |
| New API | NA | Class name: global; API declaration: export declare enum VideoPlayerState DIfferences: export declare enum VideoPlayerState | api/@ohos.file.PhotoPickerComponent.d.ets |
| New API | NA | Class name: VideoPlayerState; API declaration: PLAYING = 0 DIfferences: PLAYING = 0 | api/@ohos.file.PhotoPickerComponent.d.ets |
| New API | NA | Class name: VideoPlayerState; API declaration: PAUSED = 1 DIfferences: PAUSED = 1 | api/@ohos.file.PhotoPickerComponent.d.ets |
| New API | NA | Class name: VideoPlayerState; API declaration: STOPPED = 2 DIfferences: STOPPED = 2 | api/@ohos.file.PhotoPickerComponent.d.ets |
| New API | NA | Class name: VideoPlayerState; API declaration: SEEK_START = 3 DIfferences: SEEK_START = 3 | api/@ohos.file.PhotoPickerComponent.d.ets |
| New API | NA | Class name: VideoPlayerState; API declaration: SEEK_FINISH = 4 DIfferences: SEEK_FINISH = 4 | api/@ohos.file.PhotoPickerComponent.d.ets |
| New API | NA | Class name: photoAccessHelper; API declaration: enum CompleteButtonText DIfferences: enum CompleteButtonText | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: CompleteButtonText; API declaration: TEXT_DONE = 0 DIfferences: TEXT_DONE = 0 | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: CompleteButtonText; API declaration: TEXT_SEND = 1 DIfferences: TEXT_SEND = 1 | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: CompleteButtonText; API declaration: TEXT_ADD = 2 DIfferences: TEXT_ADD = 2 | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAsset; API declaration: clone(title: string): Promise<PhotoAsset>; DIfferences: clone(title: string): Promise<PhotoAsset>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class 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 API | NA | Class name: PhotoSelectOptions; API declaration: completeButtonText?: CompleteButtonText; DIfferences: completeButtonText?: CompleteButtonText; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: sendablePhotoAccessHelper; API declaration: enum PhotoSubtype DIfferences: enum PhotoSubtype | api/@ohos.file.sendablePhotoAccessHelper.d.ets |
| New API | NA | Class name: PhotoSubtype; API declaration: DEFAULT = 0 DIfferences: DEFAULT = 0 | api/@ohos.file.sendablePhotoAccessHelper.d.ets |
| New API | NA | Class name: PhotoSubtype; API declaration: MOVING_PHOTO = 3 DIfferences: MOVING_PHOTO = 3 | api/@ohos.file.sendablePhotoAccessHelper.d.ets |
| New API | NA | Class name: PhotoSubtype; API declaration: BURST = 4 DIfferences: BURST = 4 | api/@ohos.file.sendablePhotoAccessHelper.d.ets |
| New API | NA | Class name: sendablePhotoAccessHelper; API declaration: enum DynamicRangeType DIfferences: enum DynamicRangeType | api/@ohos.file.sendablePhotoAccessHelper.d.ets |
| New API | NA | Class name: DynamicRangeType; API declaration: SDR = 0 DIfferences: SDR = 0 | api/@ohos.file.sendablePhotoAccessHelper.d.ets |
| New API | NA | Class name: DynamicRangeType; API declaration: HDR = 1 DIfferences: HDR = 1 | api/@ohos.file.sendablePhotoAccessHelper.d.ets |
| New support for atomic services | Class 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 services | Class 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 symbol | Class 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 symbol | Class 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