| Change Type | Old Version | New Version | d.ts File |
|---|---|---|---|
| New API | NA | Class name: global; API declaration: declare namespace photoAccessHelper Differences: declare namespace photoAccessHelper | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: function getPhotoAccessHelper(context: Context): PhotoAccessHelper; Differences: function getPhotoAccessHelper(context: Context): PhotoAccessHelper; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: enum PhotoType Differences: enum PhotoType | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoType; API declaration: IMAGE = 1 Differences: IMAGE = 1 | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoType; API declaration: VIDEO Differences: VIDEO | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: enum RecommendationType Differences: enum RecommendationType | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: RecommendationType; API declaration: QR_OR_BAR_CODE = 1 Differences: QR_OR_BAR_CODE = 1 | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: RecommendationType; API declaration: QR_CODE = 2 Differences: QR_CODE = 2 | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: RecommendationType; API declaration: BAR_CODE = 3 Differences: BAR_CODE = 3 | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: RecommendationType; API declaration: ID_CARD = 4 Differences: ID_CARD = 4 | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: RecommendationType; API declaration: PROFILE_PICTURE = 5 Differences: PROFILE_PICTURE = 5 | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: enum DeliveryMode Differences: enum DeliveryMode | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: DeliveryMode; API declaration: FAST_MODE = 0 Differences: FAST_MODE = 0 | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: DeliveryMode; API declaration: HIGH_QUALITY_MODE = 1 Differences: HIGH_QUALITY_MODE = 1 | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: DeliveryMode; API declaration: BALANCE_MODE = 2 Differences: BALANCE_MODE = 2 | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: interface RequestOptions Differences: interface RequestOptions | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: RequestOptions; API declaration: deliveryMode: DeliveryMode; Differences: deliveryMode: DeliveryMode; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: interface MediaAssetDataHandler Differences: interface MediaAssetDataHandler | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: MediaAssetDataHandler; API declaration: onDataPrepared(data: T): void; Differences: onDataPrepared(data: T): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: class MediaAssetManager Differences: class MediaAssetManager | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: MediaAssetManager; API declaration: static requestImage(context: Context, asset: PhotoAsset, requestOptions: RequestOptions, dataHandler: MediaAssetDataHandler<image.ImageSource>): Promise<string>; Differences: static requestImage(context: Context, asset: PhotoAsset, requestOptions: RequestOptions, dataHandler: MediaAssetDataHandler<image.ImageSource>): Promise<string>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: MediaAssetManager; API declaration: static requestImageData(context: Context, asset: PhotoAsset, requestOptions: RequestOptions, dataHandler: MediaAssetDataHandler<ArrayBuffer>): Promise<string>; Differences: static requestImageData(context: Context, asset: PhotoAsset, requestOptions: RequestOptions, dataHandler: MediaAssetDataHandler<ArrayBuffer>): Promise<string>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: type MemberType = number |string |boolean; Differences: type MemberType = number |string |boolean; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: interface PhotoAsset Differences: interface PhotoAsset | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAsset; API declaration: readonly uri: string; Differences: readonly uri: string; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAsset; API declaration: readonly photoType: PhotoType; Differences: readonly photoType: PhotoType; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAsset; API declaration: readonly displayName: string; Differences: readonly displayName: string; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAsset; API declaration: get(member: string): MemberType; Differences: get(member: string): MemberType; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAsset; API declaration: set(member: string, value: string): void; Differences: set(member: string, value: string): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAsset; API declaration: commitModify(callback: AsyncCallback<void>): void; Differences: commitModify(callback: AsyncCallback<void>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAsset; API declaration: commitModify(): Promise<void>; Differences: commitModify(): Promise<void>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAsset; API declaration: getReadOnlyFd(callback: AsyncCallback<number>): void; Differences: getReadOnlyFd(callback: AsyncCallback<number>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAsset; API declaration: getReadOnlyFd(): Promise<number>; Differences: getReadOnlyFd(): Promise<number>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAsset; API declaration: close(fd: number, callback: AsyncCallback<void>): void; Differences: close(fd: number, callback: AsyncCallback<void>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAsset; API declaration: close(fd: number): Promise<void>; Differences: close(fd: number): Promise<void>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAsset; API declaration: getThumbnail(callback: AsyncCallback<image.PixelMap>): void; Differences: getThumbnail(callback: AsyncCallback<image.PixelMap>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAsset; API declaration: getThumbnail(size: image.Size, callback: AsyncCallback<image.PixelMap>): void; Differences: getThumbnail(size: image.Size, callback: AsyncCallback<image.PixelMap>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAsset; API declaration: getThumbnail(size?: image.Size): Promise<image.PixelMap>; Differences: getThumbnail(size?: image.Size): Promise<image.PixelMap>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: enum PhotoKeys Differences: enum PhotoKeys | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoKeys; API declaration: URI = 'uri' Differences: URI = 'uri' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoKeys; API declaration: PHOTO_TYPE = 'media_type' Differences: PHOTO_TYPE = 'media_type' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoKeys; API declaration: DISPLAY_NAME = 'display_name' Differences: DISPLAY_NAME = 'display_name' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoKeys; API declaration: SIZE = 'size' Differences: SIZE = 'size' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoKeys; API declaration: DATE_ADDED = 'date_added' Differences: DATE_ADDED = 'date_added' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoKeys; API declaration: DATE_MODIFIED = 'date_modified' Differences: DATE_MODIFIED = 'date_modified' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoKeys; API declaration: DURATION = 'duration' Differences: DURATION = 'duration' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoKeys; API declaration: WIDTH = 'width' Differences: WIDTH = 'width' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoKeys; API declaration: HEIGHT = 'height' Differences: HEIGHT = 'height' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoKeys; API declaration: DATE_TAKEN = 'date_taken' Differences: DATE_TAKEN = 'date_taken' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoKeys; API declaration: ORIENTATION = 'orientation' Differences: ORIENTATION = 'orientation' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoKeys; API declaration: FAVORITE = 'is_favorite' Differences: FAVORITE = 'is_favorite' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoKeys; API declaration: TITLE = 'title' Differences: TITLE = 'title' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: enum AlbumKeys Differences: enum AlbumKeys | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: AlbumKeys; API declaration: URI = 'uri' Differences: URI = 'uri' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: AlbumKeys; API declaration: ALBUM_NAME = 'album_name' Differences: ALBUM_NAME = 'album_name' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: interface FetchOptions Differences: interface FetchOptions | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: FetchOptions; API declaration: fetchColumns: Array<string>; Differences: fetchColumns: Array<string>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: FetchOptions; API declaration: predicates: dataSharePredicates.DataSharePredicates; Differences: predicates: dataSharePredicates.DataSharePredicates; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: interface CreateOptions Differences: interface CreateOptions | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: CreateOptions; API declaration: title?: string; Differences: title?: string; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: interface FetchResult Differences: interface FetchResult | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: FetchResult; API declaration: getCount(): number; Differences: getCount(): number; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: FetchResult; API declaration: isAfterLast(): boolean; Differences: isAfterLast(): boolean; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: FetchResult; API declaration: getFirstObject(callback: AsyncCallback<T>): void; Differences: getFirstObject(callback: AsyncCallback<T>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: FetchResult; API declaration: getFirstObject(): Promise<T>; Differences: getFirstObject(): Promise<T>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: FetchResult; API declaration: getNextObject(callback: AsyncCallback<T>): void; Differences: getNextObject(callback: AsyncCallback<T>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: FetchResult; API declaration: getNextObject(): Promise<T>; Differences: getNextObject(): Promise<T>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: FetchResult; API declaration: getLastObject(callback: AsyncCallback<T>): void; Differences: getLastObject(callback: AsyncCallback<T>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: FetchResult; API declaration: getLastObject(): Promise<T>; Differences: getLastObject(): Promise<T>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: FetchResult; API declaration: getObjectByPosition(index: number, callback: AsyncCallback<T>): void; Differences: getObjectByPosition(index: number, callback: AsyncCallback<T>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: FetchResult; API declaration: getObjectByPosition(index: number): Promise<T>; Differences: getObjectByPosition(index: number): Promise<T>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: FetchResult; API declaration: getAllObjects(callback: AsyncCallback<Array<T>>): void; Differences: getAllObjects(callback: AsyncCallback<Array<T>>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: FetchResult; API declaration: getAllObjects(): Promise<Array<T>>; Differences: getAllObjects(): Promise<Array<T>>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: FetchResult; API declaration: close(): void; Differences: close(): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: enum AlbumType Differences: enum AlbumType | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: AlbumType; API declaration: USER = 0 Differences: USER = 0 | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: AlbumType; API declaration: SYSTEM = 1024 Differences: SYSTEM = 1024 | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: enum AlbumSubtype Differences: enum AlbumSubtype | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: AlbumSubtype; API declaration: USER_GENERIC = 1 Differences: USER_GENERIC = 1 | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: AlbumSubtype; API declaration: FAVORITE = 1025 Differences: FAVORITE = 1025 | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: AlbumSubtype; API declaration: VIDEO Differences: VIDEO | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: AlbumSubtype; API declaration: ANY = 2147483647 Differences: ANY = 2147483647 | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: interface AbsAlbum Differences: interface AbsAlbum | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: AbsAlbum; API declaration: readonly albumType: AlbumType; Differences: readonly albumType: AlbumType; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: AbsAlbum; API declaration: readonly albumSubtype: AlbumSubtype; Differences: readonly albumSubtype: AlbumSubtype; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: AbsAlbum; API declaration: albumName: string; Differences: albumName: string; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: AbsAlbum; API declaration: readonly albumUri: string; Differences: readonly albumUri: string; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: AbsAlbum; API declaration: readonly count: number; Differences: readonly count: number; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: AbsAlbum; API declaration: readonly coverUri: string; Differences: readonly coverUri: string; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: AbsAlbum; API declaration: getAssets(options: FetchOptions, callback: AsyncCallback<FetchResult<PhotoAsset>>): void; Differences: getAssets(options: FetchOptions, callback: AsyncCallback<FetchResult<PhotoAsset>>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: AbsAlbum; API declaration: getAssets(options: FetchOptions): Promise<FetchResult<PhotoAsset>>; Differences: getAssets(options: FetchOptions): Promise<FetchResult<PhotoAsset>>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: interface Album Differences: interface Album | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: Album; API declaration: readonly imageCount?: number; Differences: readonly imageCount?: number; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: Album; API declaration: readonly videoCount?: number; Differences: readonly videoCount?: number; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: Album; API declaration: commitModify(callback: AsyncCallback<void>): void; Differences: commitModify(callback: AsyncCallback<void>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: Album; API declaration: commitModify(): Promise<void>; Differences: commitModify(): Promise<void>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: Album; API declaration: addAssets(assets: Array<PhotoAsset>, callback: AsyncCallback<void>): void; Differences: addAssets(assets: Array<PhotoAsset>, callback: AsyncCallback<void>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: Album; API declaration: addAssets(assets: Array<PhotoAsset>): Promise<void>; Differences: addAssets(assets: Array<PhotoAsset>): Promise<void>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: Album; API declaration: removeAssets(assets: Array<PhotoAsset>, callback: AsyncCallback<void>): void; Differences: removeAssets(assets: Array<PhotoAsset>, callback: AsyncCallback<void>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: Album; API declaration: removeAssets(assets: Array<PhotoAsset>): Promise<void>; Differences: removeAssets(assets: Array<PhotoAsset>): Promise<void>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: interface PhotoAccessHelper Differences: interface PhotoAccessHelper | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAccessHelper; API declaration: getAssets(options: FetchOptions, callback: AsyncCallback<FetchResult<PhotoAsset>>): void; Differences: getAssets(options: FetchOptions, callback: AsyncCallback<FetchResult<PhotoAsset>>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAccessHelper; API declaration: getAssets(options: FetchOptions): Promise<FetchResult<PhotoAsset>>; Differences: getAssets(options: FetchOptions): Promise<FetchResult<PhotoAsset>>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAccessHelper; API declaration: createAsset(photoType: PhotoType, extension: string, options: CreateOptions, callback: AsyncCallback<string>): void; Differences: createAsset(photoType: PhotoType, extension: string, options: CreateOptions, callback: AsyncCallback<string>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAccessHelper; API declaration: createAsset(photoType: PhotoType, extension: string, callback: AsyncCallback<string>): void; Differences: createAsset(photoType: PhotoType, extension: string, callback: AsyncCallback<string>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAccessHelper; API declaration: createAsset(photoType: PhotoType, extension: string, options?: CreateOptions): Promise<string>; Differences: createAsset(photoType: PhotoType, extension: string, options?: CreateOptions): Promise<string>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAccessHelper; API declaration: getAlbums(type: AlbumType, subtype: AlbumSubtype, options: FetchOptions, callback: AsyncCallback<FetchResult<Album>>): void; Differences: getAlbums(type: AlbumType, subtype: AlbumSubtype, options: FetchOptions, callback: AsyncCallback<FetchResult<Album>>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAccessHelper; API declaration: getAlbums(type: AlbumType, subtype: AlbumSubtype, callback: AsyncCallback<FetchResult<Album>>): void; Differences: getAlbums(type: AlbumType, subtype: AlbumSubtype, callback: AsyncCallback<FetchResult<Album>>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAccessHelper; API declaration: getAlbums(type: AlbumType, subtype: AlbumSubtype, options?: FetchOptions): Promise<FetchResult<Album>>; Differences: getAlbums(type: AlbumType, subtype: AlbumSubtype, options?: FetchOptions): Promise<FetchResult<Album>>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAccessHelper; API declaration: registerChange(uri: string, forChildUris: boolean, callback: Callback<ChangeData>): void; Differences: registerChange(uri: string, forChildUris: boolean, callback: Callback<ChangeData>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAccessHelper; API declaration: unRegisterChange(uri: string, callback?: Callback<ChangeData>): void; Differences: unRegisterChange(uri: string, callback?: Callback<ChangeData>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAccessHelper; API declaration: createDeleteRequest(uriList: Array<string>, callback: AsyncCallback<void>): void; Differences: createDeleteRequest(uriList: Array<string>, callback: AsyncCallback<void>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAccessHelper; API declaration: createDeleteRequest(uriList: Array<string>): Promise<void>; Differences: createDeleteRequest(uriList: Array<string>): Promise<void>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAccessHelper; API declaration: release(callback: AsyncCallback<void>): void; Differences: release(callback: AsyncCallback<void>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAccessHelper; API declaration: release(): Promise<void>; Differences: release(): Promise<void>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoAccessHelper; API declaration: applyChanges(mediaChangeRequest: MediaChangeRequest): Promise<void>; Differences: applyChanges(mediaChangeRequest: MediaChangeRequest): Promise<void>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: enum NotifyType Differences: enum NotifyType | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: NotifyType; API declaration: NOTIFY_ADD Differences: NOTIFY_ADD | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: NotifyType; API declaration: NOTIFY_UPDATE Differences: NOTIFY_UPDATE | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: NotifyType; API declaration: NOTIFY_REMOVE Differences: NOTIFY_REMOVE | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: NotifyType; API declaration: NOTIFY_ALBUM_ADD_ASSET Differences: NOTIFY_ALBUM_ADD_ASSET | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: NotifyType; API declaration: NOTIFY_ALBUM_REMOVE_ASSET Differences: NOTIFY_ALBUM_REMOVE_ASSET | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: enum DefaultChangeUri Differences: enum DefaultChangeUri | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: DefaultChangeUri; API declaration: DEFAULT_PHOTO_URI = 'file://media/Photo' Differences: DEFAULT_PHOTO_URI = 'file://media/Photo' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: DefaultChangeUri; API declaration: DEFAULT_ALBUM_URI = 'file://media/PhotoAlbum' Differences: DEFAULT_ALBUM_URI = 'file://media/PhotoAlbum' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: interface ChangeData Differences: interface ChangeData | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: ChangeData; API declaration: type: NotifyType; Differences: type: NotifyType; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: ChangeData; API declaration: uris: Array<string>; Differences: uris: Array<string>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: ChangeData; API declaration: extraUris: Array<string>; Differences: extraUris: Array<string>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: export enum PhotoViewMIMETypes Differences: export enum PhotoViewMIMETypes | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoViewMIMETypes; API declaration: IMAGE_TYPE = 'image/' Differences: IMAGE_TYPE = 'image/' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoViewMIMETypes; API declaration: VIDEO_TYPE = 'video/' Differences: VIDEO_TYPE = 'video/' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoViewMIMETypes; API declaration: IMAGE_VIDEO_TYPE = '/' Differences: IMAGE_VIDEO_TYPE = '/' | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: class PhotoSelectOptions Differences: class PhotoSelectOptions | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoSelectOptions; API declaration: MIMEType?: PhotoViewMIMETypes; Differences: MIMEType?: PhotoViewMIMETypes; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoSelectOptions; API declaration: maxSelectNumber?: number; Differences: maxSelectNumber?: number; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoSelectOptions; API declaration: isSearchSupported?: boolean; Differences: isSearchSupported?: boolean; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoSelectOptions; API declaration: isPhotoTakingSupported?: boolean; Differences: isPhotoTakingSupported?: boolean; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoSelectOptions; API declaration: isEditSupported?: boolean; Differences: isEditSupported?: boolean; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoSelectOptions; API declaration: recommendationOptions?: RecommendationOptions; Differences: recommendationOptions?: RecommendationOptions; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoSelectOptions; API declaration: preselectedUris?: Array<string>; Differences: preselectedUris?: Array<string>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: class RecommendationOptions Differences: class RecommendationOptions | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: RecommendationOptions; API declaration: recommendationType?: RecommendationType; Differences: recommendationType?: RecommendationType; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: class PhotoSelectResult Differences: class PhotoSelectResult | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoSelectResult; API declaration: photoUris: Array<string>; Differences: photoUris: Array<string>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoSelectResult; API declaration: isOriginalPhoto: boolean; Differences: isOriginalPhoto: boolean; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: class PhotoViewPicker Differences: class PhotoViewPicker | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoViewPicker; API declaration: select(option?: PhotoSelectOptions): Promise<PhotoSelectResult>; Differences: select(option?: PhotoSelectOptions): Promise<PhotoSelectResult>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoViewPicker; API declaration: select(option: PhotoSelectOptions, callback: AsyncCallback<PhotoSelectResult>): void; Differences: select(option: PhotoSelectOptions, callback: AsyncCallback<PhotoSelectResult>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: PhotoViewPicker; API declaration: select(callback: AsyncCallback<PhotoSelectResult>): void; Differences: select(callback: AsyncCallback<PhotoSelectResult>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: enum ResourceType Differences: enum ResourceType | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: ResourceType; API declaration: IMAGE_RESOURCE = 1 Differences: IMAGE_RESOURCE = 1 | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: ResourceType; API declaration: VIDEO_RESOURCE = 2 Differences: VIDEO_RESOURCE = 2 | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: interface MediaChangeRequest Differences: interface MediaChangeRequest | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: class MediaAssetChangeRequest Differences: class MediaAssetChangeRequest | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: MediaAssetChangeRequest; API declaration: static createImageAssetRequest(context: Context, fileUri: string): MediaAssetChangeRequest; Differences: static createImageAssetRequest(context: Context, fileUri: string): MediaAssetChangeRequest; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: MediaAssetChangeRequest; API declaration: static createVideoAssetRequest(context: Context, fileUri: string): MediaAssetChangeRequest; Differences: static createVideoAssetRequest(context: Context, fileUri: string): MediaAssetChangeRequest; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: MediaAssetChangeRequest; API declaration: static createAssetRequest(context: Context, photoType: PhotoType, extension: string, options?: CreateOptions): MediaAssetChangeRequest; Differences: static createAssetRequest(context: Context, photoType: PhotoType, extension: string, options?: CreateOptions): MediaAssetChangeRequest; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: MediaAssetChangeRequest; API declaration: static deleteAssets(context: Context, assets: Array<PhotoAsset>): Promise<void>; Differences: static deleteAssets(context: Context, assets: Array<PhotoAsset>): Promise<void>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: MediaAssetChangeRequest; API declaration: static deleteAssets(context: Context, uriList: Array<string>): Promise<void>; Differences: static deleteAssets(context: Context, uriList: Array<string>): Promise<void>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: MediaAssetChangeRequest; API declaration: getAsset(): PhotoAsset; Differences: getAsset(): PhotoAsset; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: MediaAssetChangeRequest; API declaration: setTitle(title: string): void; Differences: setTitle(title: string): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: MediaAssetChangeRequest; API declaration: getWriteCacheHandler(): Promise<number>; Differences: getWriteCacheHandler(): Promise<number>; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: MediaAssetChangeRequest; API declaration: addResource(type: ResourceType, fileUri: string): void; Differences: addResource(type: ResourceType, fileUri: string): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: MediaAssetChangeRequest; API declaration: addResource(type: ResourceType, data: ArrayBuffer): void; Differences: addResource(type: ResourceType, data: ArrayBuffer): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: photoAccessHelper; API declaration: class MediaAlbumChangeRequest Differences: class MediaAlbumChangeRequest | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: MediaAlbumChangeRequest; API declaration: getAlbum(): Album; Differences: getAlbum(): Album; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: MediaAlbumChangeRequest; API declaration: setAlbumName(name: string): void; Differences: setAlbumName(name: string): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: MediaAlbumChangeRequest; API declaration: addAssets(assets: Array<PhotoAsset>): void; Differences: addAssets(assets: Array<PhotoAsset>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: MediaAlbumChangeRequest; API declaration: removeAssets(assets: Array<PhotoAsset>): void; Differences: removeAssets(assets: Array<PhotoAsset>): void; | api/@ohos.file.photoAccessHelper.d.ts |
| New API | NA | Class name: global; API declaration: declare namespace mediaLibrary Differences: declare namespace mediaLibrary | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: mediaLibrary; API declaration: function getMediaLibrary(): MediaLibrary; Differences: function getMediaLibrary(): MediaLibrary; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: mediaLibrary; API declaration: function getMediaLibrary(context: Context): MediaLibrary; Differences: function getMediaLibrary(context: Context): MediaLibrary; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: mediaLibrary; API declaration: enum MediaType Differences: enum MediaType | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaType; API declaration: FILE = 0 Differences: FILE = 0 | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaType; API declaration: IMAGE Differences: IMAGE | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaType; API declaration: VIDEO Differences: VIDEO | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaType; API declaration: AUDIO Differences: AUDIO | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: mediaLibrary; API declaration: interface MediaAssetOption Differences: interface MediaAssetOption | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaAssetOption; API declaration: src: string; Differences: src: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaAssetOption; API declaration: mimeType: string; Differences: mimeType: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaAssetOption; API declaration: relativePath?: string; Differences: relativePath?: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: mediaLibrary; API declaration: interface MediaSelectOption Differences: interface MediaSelectOption | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaSelectOption; API declaration: type: 'image' |'video' |'media'; Differences: type: 'image' |'video' |'media'; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaSelectOption; API declaration: count: number; Differences: count: number; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: mediaLibrary; API declaration: interface FileAsset Differences: interface FileAsset | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: readonly id: number; Differences: readonly id: number; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: readonly uri: string; Differences: readonly uri: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: readonly mimeType: string; Differences: readonly mimeType: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: readonly mediaType: MediaType; Differences: readonly mediaType: MediaType; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: displayName: string; Differences: displayName: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: title: string; Differences: title: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: relativePath: string; Differences: relativePath: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: readonly parent: number; Differences: readonly parent: number; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: readonly size: number; Differences: readonly size: number; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: readonly dateAdded: number; Differences: readonly dateAdded: number; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: readonly dateModified: number; Differences: readonly dateModified: number; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: readonly dateTaken: number; Differences: readonly dateTaken: number; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: readonly artist: string; Differences: readonly artist: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: readonly audioAlbum: string; Differences: readonly audioAlbum: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: readonly width: number; Differences: readonly width: number; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: readonly height: number; Differences: readonly height: number; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: orientation: number; Differences: orientation: number; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: readonly duration: number; Differences: readonly duration: number; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: readonly albumId: number; Differences: readonly albumId: number; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: readonly albumUri: string; Differences: readonly albumUri: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: readonly albumName: string; Differences: readonly albumName: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: isDirectory(callback: AsyncCallback<boolean>): void; Differences: isDirectory(callback: AsyncCallback<boolean>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: isDirectory(): Promise<boolean>; Differences: isDirectory(): Promise<boolean>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: commitModify(callback: AsyncCallback<void>): void; Differences: commitModify(callback: AsyncCallback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: commitModify(): Promise<void>; Differences: commitModify(): Promise<void>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: open(mode: string, callback: AsyncCallback<number>): void; Differences: open(mode: string, callback: AsyncCallback<number>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: open(mode: string): Promise<number>; Differences: open(mode: string): Promise<number>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: close(fd: number, callback: AsyncCallback<void>): void; Differences: close(fd: number, callback: AsyncCallback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: close(fd: number): Promise<void>; Differences: close(fd: number): Promise<void>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: getThumbnail(callback: AsyncCallback<image.PixelMap>): void; Differences: getThumbnail(callback: AsyncCallback<image.PixelMap>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: getThumbnail(size: Size, callback: AsyncCallback<image.PixelMap>): void; Differences: getThumbnail(size: Size, callback: AsyncCallback<image.PixelMap>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: getThumbnail(size?: Size): Promise<image.PixelMap>; Differences: getThumbnail(size?: Size): Promise<image.PixelMap>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: favorite(isFavorite: boolean, callback: AsyncCallback<void>): void; Differences: favorite(isFavorite: boolean, callback: AsyncCallback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: favorite(isFavorite: boolean): Promise<void>; Differences: favorite(isFavorite: boolean): Promise<void>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: isFavorite(callback: AsyncCallback<boolean>): void; Differences: isFavorite(callback: AsyncCallback<boolean>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: isFavorite(): Promise<boolean>; Differences: isFavorite(): Promise<boolean>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: trash(isTrash: boolean, callback: AsyncCallback<void>): void; Differences: trash(isTrash: boolean, callback: AsyncCallback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: trash(isTrash: boolean): Promise<void>; Differences: trash(isTrash: boolean): Promise<void>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: isTrash(callback: AsyncCallback<boolean>): void; Differences: isTrash(callback: AsyncCallback<boolean>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileAsset; API declaration: isTrash(): Promise<boolean>; Differences: isTrash(): Promise<boolean>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: mediaLibrary; API declaration: enum FileKey Differences: enum FileKey | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileKey; API declaration: ID = "file_id" Differences: ID = "file_id" | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileKey; API declaration: RELATIVE_PATH = "relative_path" Differences: RELATIVE_PATH = "relative_path" | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileKey; API declaration: DISPLAY_NAME = "display_name" Differences: DISPLAY_NAME = "display_name" | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileKey; API declaration: PARENT = "parent" Differences: PARENT = "parent" | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileKey; API declaration: MIME_TYPE = "mime_type" Differences: MIME_TYPE = "mime_type" | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileKey; API declaration: MEDIA_TYPE = "media_type" Differences: MEDIA_TYPE = "media_type" | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileKey; API declaration: SIZE = "size" Differences: SIZE = "size" | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileKey; API declaration: DATE_ADDED = "date_added" Differences: DATE_ADDED = "date_added" | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileKey; API declaration: DATE_MODIFIED = "date_modified" Differences: DATE_MODIFIED = "date_modified" | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileKey; API declaration: DATE_TAKEN = "date_taken" Differences: DATE_TAKEN = "date_taken" | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileKey; API declaration: TITLE = "title" Differences: TITLE = "title" | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileKey; API declaration: ARTIST = "artist" Differences: ARTIST = "artist" | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileKey; API declaration: AUDIOALBUM = "audio_album" Differences: AUDIOALBUM = "audio_album" | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileKey; API declaration: DURATION = "duration" Differences: DURATION = "duration" | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileKey; API declaration: WIDTH = "width" Differences: WIDTH = "width" | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileKey; API declaration: HEIGHT = "height" Differences: HEIGHT = "height" | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileKey; API declaration: ORIENTATION = "orientation" Differences: ORIENTATION = "orientation" | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileKey; API declaration: ALBUM_ID = "bucket_id" Differences: ALBUM_ID = "bucket_id" | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FileKey; API declaration: ALBUM_NAME = "bucket_display_name" Differences: ALBUM_NAME = "bucket_display_name" | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: mediaLibrary; API declaration: interface MediaFetchOptions Differences: interface MediaFetchOptions | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaFetchOptions; API declaration: selections: string; Differences: selections: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaFetchOptions; API declaration: selectionArgs: Array<string>; Differences: selectionArgs: Array<string>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaFetchOptions; API declaration: order?: string; Differences: order?: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaFetchOptions; API declaration: uri?: string; Differences: uri?: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaFetchOptions; API declaration: networkId?: string; Differences: networkId?: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaFetchOptions; API declaration: extendArgs?: string; Differences: extendArgs?: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: mediaLibrary; API declaration: interface FetchFileResult Differences: interface FetchFileResult | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FetchFileResult; API declaration: getCount(): number; Differences: getCount(): number; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FetchFileResult; API declaration: isAfterLast(): boolean; Differences: isAfterLast(): boolean; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FetchFileResult; API declaration: close(): void; Differences: close(): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FetchFileResult; API declaration: getFirstObject(callback: AsyncCallback<FileAsset>): void; Differences: getFirstObject(callback: AsyncCallback<FileAsset>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FetchFileResult; API declaration: getFirstObject(): Promise<FileAsset>; Differences: getFirstObject(): Promise<FileAsset>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FetchFileResult; API declaration: getNextObject(callback: AsyncCallback<FileAsset>): void; Differences: getNextObject(callback: AsyncCallback<FileAsset>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FetchFileResult; API declaration: getNextObject(): Promise<FileAsset>; Differences: getNextObject(): Promise<FileAsset>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FetchFileResult; API declaration: getLastObject(callback: AsyncCallback<FileAsset>): void; Differences: getLastObject(callback: AsyncCallback<FileAsset>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FetchFileResult; API declaration: getLastObject(): Promise<FileAsset>; Differences: getLastObject(): Promise<FileAsset>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FetchFileResult; API declaration: getPositionObject(index: number, callback: AsyncCallback<FileAsset>): void; Differences: getPositionObject(index: number, callback: AsyncCallback<FileAsset>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FetchFileResult; API declaration: getPositionObject(index: number): Promise<FileAsset>; Differences: getPositionObject(index: number): Promise<FileAsset>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FetchFileResult; API declaration: getAllObject(callback: AsyncCallback<Array<FileAsset>>): void; Differences: getAllObject(callback: AsyncCallback<Array<FileAsset>>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: FetchFileResult; API declaration: getAllObject(): Promise<Array<FileAsset>>; Differences: getAllObject(): Promise<Array<FileAsset>>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: mediaLibrary; API declaration: interface Album Differences: interface Album | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: Album; API declaration: readonly albumId: number; Differences: readonly albumId: number; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: Album; API declaration: albumName: string; Differences: albumName: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: Album; API declaration: readonly albumUri: string; Differences: readonly albumUri: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: Album; API declaration: readonly dateModified: number; Differences: readonly dateModified: number; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: Album; API declaration: readonly count: number; Differences: readonly count: number; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: Album; API declaration: readonly relativePath: string; Differences: readonly relativePath: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: Album; API declaration: readonly coverUri: string; Differences: readonly coverUri: string; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: Album; API declaration: commitModify(callback: AsyncCallback<void>): void; Differences: commitModify(callback: AsyncCallback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: Album; API declaration: commitModify(): Promise<void>; Differences: commitModify(): Promise<void>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: Album; API declaration: getFileAssets(callback: AsyncCallback<FetchFileResult>): void; Differences: getFileAssets(callback: AsyncCallback<FetchFileResult>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: Album; API declaration: getFileAssets(options: MediaFetchOptions, callback: AsyncCallback<FetchFileResult>): void; Differences: getFileAssets(options: MediaFetchOptions, callback: AsyncCallback<FetchFileResult>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: Album; API declaration: getFileAssets(options?: MediaFetchOptions): Promise<FetchFileResult>; Differences: getFileAssets(options?: MediaFetchOptions): Promise<FetchFileResult>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: mediaLibrary; API declaration: enum DirectoryType Differences: enum DirectoryType | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: DirectoryType; API declaration: DIR_CAMERA = 0 Differences: DIR_CAMERA = 0 | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: DirectoryType; API declaration: DIR_VIDEO Differences: DIR_VIDEO | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: DirectoryType; API declaration: DIR_IMAGE Differences: DIR_IMAGE | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: DirectoryType; API declaration: DIR_AUDIO Differences: DIR_AUDIO | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: DirectoryType; API declaration: DIR_DOCUMENTS Differences: DIR_DOCUMENTS | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: DirectoryType; API declaration: DIR_DOWNLOAD Differences: DIR_DOWNLOAD | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: mediaLibrary; API declaration: interface MediaLibrary Differences: interface MediaLibrary | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: getPublicDirectory(type: DirectoryType, callback: AsyncCallback<string>): void; Differences: getPublicDirectory(type: DirectoryType, callback: AsyncCallback<string>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: getPublicDirectory(type: DirectoryType): Promise<string>; Differences: getPublicDirectory(type: DirectoryType): Promise<string>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: getFileAssets(options: MediaFetchOptions, callback: AsyncCallback<FetchFileResult>): void; Differences: getFileAssets(options: MediaFetchOptions, callback: AsyncCallback<FetchFileResult>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: getFileAssets(options: MediaFetchOptions): Promise<FetchFileResult>; Differences: getFileAssets(options: MediaFetchOptions): Promise<FetchFileResult>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: on(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback: Callback<void>): void; Differences: on(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback: Callback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: on(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback: Callback<void>): void; Differences: on(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback: Callback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: on(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback: Callback<void>): void; Differences: on(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback: Callback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: on(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback: Callback<void>): void; Differences: on(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback: Callback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: on(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback: Callback<void>): void; Differences: on(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback: Callback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: on(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback: Callback<void>): void; Differences: on(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback: Callback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: on(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback: Callback<void>): void; Differences: on(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback: Callback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: off(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback?: Callback<void>): void; Differences: off(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback?: Callback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: off(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback?: Callback<void>): void; Differences: off(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback?: Callback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: off(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback?: Callback<void>): void; Differences: off(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback?: Callback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: off(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback?: Callback<void>): void; Differences: off(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback?: Callback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: off(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback?: Callback<void>): void; Differences: off(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback?: Callback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: off(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback?: Callback<void>): void; Differences: off(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback?: Callback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: off(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback?: Callback<void>): void; Differences: off(type: 'deviceChange' |'albumChange' |'imageChange' |'audioChange' |'videoChange' |'fileChange' |'remoteFileChange', callback?: Callback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: createAsset(mediaType: MediaType, displayName: string, relativePath: string, callback: AsyncCallback<FileAsset>): void; Differences: createAsset(mediaType: MediaType, displayName: string, relativePath: string, callback: AsyncCallback<FileAsset>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: createAsset(mediaType: MediaType, displayName: string, relativePath: string): Promise<FileAsset>; Differences: createAsset(mediaType: MediaType, displayName: string, relativePath: string): Promise<FileAsset>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: getAlbums(options: MediaFetchOptions, callback: AsyncCallback<Array<Album>>): void; Differences: getAlbums(options: MediaFetchOptions, callback: AsyncCallback<Array<Album>>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: getAlbums(options: MediaFetchOptions): Promise<Array<Album>>; Differences: getAlbums(options: MediaFetchOptions): Promise<Array<Album>>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: storeMediaAsset(option: MediaAssetOption, callback: AsyncCallback<string>): void; Differences: storeMediaAsset(option: MediaAssetOption, callback: AsyncCallback<string>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: storeMediaAsset(option: MediaAssetOption): Promise<string>; Differences: storeMediaAsset(option: MediaAssetOption): Promise<string>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: startImagePreview(images: Array<string>, index: number, callback: AsyncCallback<void>): void; Differences: startImagePreview(images: Array<string>, index: number, callback: AsyncCallback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: startImagePreview(images: Array<string>, callback: AsyncCallback<void>): void; Differences: startImagePreview(images: Array<string>, callback: AsyncCallback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: startImagePreview(images: Array<string>, index?: number): Promise<void>; Differences: startImagePreview(images: Array<string>, index?: number): Promise<void>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: startMediaSelect(option: MediaSelectOption, callback: AsyncCallback<Array<string>>): void; Differences: startMediaSelect(option: MediaSelectOption, callback: AsyncCallback<Array<string>>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: startMediaSelect(option: MediaSelectOption): Promise<Array<string>>; Differences: startMediaSelect(option: MediaSelectOption): Promise<Array<string>>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: release(callback: AsyncCallback<void>): void; Differences: release(callback: AsyncCallback<void>): void; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: MediaLibrary; API declaration: release(): Promise<void>; Differences: release(): Promise<void>; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: mediaLibrary; API declaration: interface Size Differences: interface Size | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: Size; API declaration: width: number; Differences: width: number; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New API | NA | Class name: Size; API declaration: height: number; Differences: height: number; | api/@ohos.multimedia.mediaLibrary.d.ts |
| New Kit | Class name: global; API declaration: Differences: NA | Class name: global; API declaration: api@ohos.file.photoAccessHelper.d.ts Differences: MediaLibraryKit | api/@ohos.file.photoAccessHelper.d.ts |
| New Kit | Class name: global; API declaration: Differences: NA | Class name: global; API declaration: api@ohos.multimedia.mediaLibrary.d.ts Differences: MediaLibraryKit | api/@ohos.multimedia.mediaLibrary.d.ts |
| New Kit | Class name: global; API declaration: Differences: NA | Class name: global; API declaration: kits@kit.MediaLibraryKit.d.ts Differences: MediaLibraryKit | kits/@kit.MediaLibraryKit.d.ts |
你可能感兴趣的鸿蒙文章
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-MultimodalAwarenessKit