Home
last modified time | relevance | path

Searched refs:albums (Results 1 – 25 of 40) sorted by relevance

12

/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.3.2/
H A Dchangelogs-multimedia.md11albums is restricted since API version 11. To obtain hidden albums, use **getHiddenAlbums** with t…
15 …*UserFileManager.getPhotoAlbums** can no longer be used to obtain hidden albums. Only the system A…
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/test/ndktest/camera_ndk_demo/entry/src/main/ets/model/
H A DMediaUtils.ts102 let albums = []
109 albums.push({
112 albums.push({
115 albums.push({
118 albums.push({
121 return albums
/ohos5.0/docs/en/application-dev/media/medialibrary/
H A DphotoAccessHelper-overview.md3 Media Library Kit provides the capabilities of managing albums and media files, including images an…
7 …brary Kit, you can manage albums and media files, including creating and accessing albums and modi…
34 - [Management of system albums](photoAccessHelper-systemAlbum-guidelines.md), including:
37 - [Change notifications of images, videos, and albums](photoAccessHelper-notify-guidelines.md), inc…
H A DphotoAccessHelper-userAlbum-guidelines.md60 …./reference/apis-media-library-kit/js-apis-photoAccessHelper.md#getalbums-2) to obtain user albums.
72 2. Call **PhotoAccessHelper.getAlbums** to obtain user albums.
124 2. Call **PhotoAccessHelper.getAlbums** to obtain user albums.
175 3. Call **PhotoAccessHelper.getAlbums** to obtain user albums.
237 3. Call **PhotoAccessHelper.getAlbums** to obtain user albums.
295 3. Call **PhotoAccessHelper.getAlbums** to obtain user albums.
357 2. Call **PhotoAccessHelper.getAlbums** to obtain user albums.
/ohos5.0/docs/en/application-dev/reference/apis-media-library-kit/
H A Djs-apis-sendablePhotoAccessHelper-sys.md142 Obtains hidden albums based on the specified display mode and retrieval options. This API uses a pr…
154 …Helper-sys.md#hiddenphotosdisplaymode11) | Yes | Display mode of hidden albums. …
155 …choptions) | No | Options for retrieving the albums. If this parameter is not specified, the a…
197 …the hidden albums displayed by album, that is, the albums with hidden files. Such albums do not in…
205 let albums: Array<sendablePhotoAccessHelper.Album> = await fetchResult.getAllObjects();
206 console.info('getHiddenAlbumsViewPromise successfully, albums size: ' + albums.length);
213 for (let i = 0; i < albums.length; i++) {
215 albums[i].getAssets(fetchOption).then((assetFetchResult) => {
404 Provides APIs to manage albums.
H A Dohos-file-AlbumPickerComponent.md3 …mbedded in the UI of an application allows the application to access the albums in the user direct…
30 Allows the application to access the albums in the user directory without any permission.
H A Djs-apis-sendablePhotoAccessHelper.md257 Obtains albums based on the specified options and album type. This API uses a promise to return the…
259 Before the operation, ensure that the albums to obtain exist.
269 | type | [AlbumType](#albumtype) | Yes | Type of the albums t…
271 …d#fetchoptions) | No | Options for fetching the albums. If this parameter is not specified, the a…
324 Obtains albums. This API uses a promise to return the result.
326 Before the operation, ensure that the albums to obtain exist.
336 …etchOptions](js-apis-photoAccessHelper.md#fetchoptions) | Yes | Options for obtaining the albums.|
1075 Provides APIs to manage albums.
H A Djs-apis-photoAccessHelper-sys.md377 Ensure that the albums to be deleted exist. Only user albums can be deleted.
441 Ensure that the albums to be deleted exist. Only user albums can be deleted.
610 …the hidden albums displayed by album, that is, the albums with hidden files. Such albums do not in…
619 console.info('getHiddenAlbumsViewCallback successfully, albums size: ' + albums.length);
626 for (let i = 0; i < albums.length; i++) {
696 …the hidden albums displayed by album, that is, the albums with hidden files. Such albums do not in…
705 console.info('getHiddenAlbumsViewPromise successfully, albums size: ' + albums.length);
712 for (let i = 0; i < albums.length; i++) {
3268 Provides APIs to manage albums.
4526 Ensure that the albums to be deleted exist. Only user albums can be deleted.
[all …]
H A Djs-apis-photoAccessHelper.md411 Before the operation, ensure that the albums to obtain exist.
421 | type | [AlbumType](#albumtype) | Yes | Type of the albums to obtain. |
423 | options | [FetchOptions](#fetchoptions) | Yes | Options for fetching the albums. …
471 Obtains albums by type. This API uses an asynchronous callback to return the result.
473 Before the operation, ensure that the albums to obtain exist.
483 | type | [AlbumType](#albumtype) | Yes | Type of the albums to obtain. |
526 Before the operation, ensure that the albums to obtain exist.
536 | type | [AlbumType](#albumtype) | Yes | Type of the albums to obtain. |
538 …tions) | No | Options for fetching the albums. If this parameter is not specified, the a…
2595 Provides APIs to manage albums.
[all …]
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.8.2/
H A Dchangelogs-mediaLibrary.md31albums represented by physical directories are replaced by logical albums, which allow multiple fi…
97 …bums](../../../application-dev/reference/apis/js-apis-medialibrary.md#getalbums7) to obtain albums.
122 The following example shows how to obtain **Camera** and **Screenshots** albums:
135 selectionArgs: ['Camera', 'Screenshots'], // Obtain the camera and screenshot albums.
/ohos5.0/docs/zh-cn/application-dev/reference/apis-media-library-kit/
H A Djs-apis-sendablePhotoAccessHelper-sys.md205 let albums: Array<sendablePhotoAccessHelper.Album> = await fetchResult.getAllObjects();
206 console.info('getHiddenAlbumsViewPromise successfully, albums size: ' + albums.length);
213 for (let i = 0; i < albums.length; i++) {
215 albums[i].getAssets(fetchOption).then((assetFetchResult) => {
H A Djs-apis-photoAccessHelper-sys.md373 deleteAlbums(albums: Array&lt;Album&gt;, callback: AsyncCallback&lt;void&gt;): void
393 | albums | Array&lt;[Album](#album)&gt; | 是 | 待删除相册的数组。 |
437 deleteAlbums(albums: Array&lt;Album&gt;): Promise&lt;void&gt;
457 | albums | Array&lt;[Album](#album)&gt; | 是 | 待删除相册的数组。 |
619 console.info('getHiddenAlbumsViewCallback successfully, albums size: ' + albums.length);
626 for (let i = 0; i < albums.length; i++) {
628 albums[i].getAssets(fetchOption, (err, assetFetchResult) => {
705 console.info('getHiddenAlbumsViewPromise successfully, albums size: ' + albums.length);
712 for (let i = 0; i < albums.length; i++) {
714 albums[i].getAssets(fetchOption).then((assetFetchResult) => {
[all …]
/ohos5.0/docs/en/application-dev/faqs/
H A Dfaqs-multimedia.md257 ## Why can't a third-party application create albums? (API version 10)
261 …m resources are set to the system_basic level, and the APIs for creating albums are designed as sy…
265 …plications. The system generates source albums based on the image and video storage sources. User-…
/ohos5.0/docs/en/application-dev/reference/apis-core-file-kit/
H A Djs-apis-userFileManager-sys.md195 let album: userFileManager.Album = await albums.getFirstObject();
573 Ensure that the albums to be deleted exist. Only user albums can be deleted.
615 deleteAlbums(albums: Array&lt;Album&gt;): Promise&lt;void&gt;;
617 Deletes albums. This API uses a promise to return the result.
619 Ensure that the albums to be deleted exist. Only user albums can be deleted.
671 Before the operation, ensure that the albums to obtain exist.
732 Before the operation, ensure that the albums to obtain exist.
784 Before the operation, ensure that the albums to obtain exist.
884 console.info('albums.count = ' + fetchResult.getCount());
3295 Provides APIs to manage albums.
[all …]
/ohos5.0/docs/en/readme/
H A Dsystem-apps.md16 8. Gallery: allows users to manage, browse, view, and edit photos, videos, and albums.
/ohos5.0/docs/en/application-dev/database/
H A Dsync-app-data-across-devices-overview.md16 …tores are recommended for storing Gallery attribute information, such as albums, covers, and image…
/ohos5.0/docs/en/application-dev/file-management/
H A Duser-file-overview.md20 …dia file formats. Generally, these files are presented as media files or albums, without the speci…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-file-management.md140 …nagement.userFileManager<br>类名: UserFileManager<br>方法 or 属性:deleteAlbums(albums: Array\<Album>, ca…
141 |新增|NA|类名:UserFileManager<br>方法or属性:deleteAlbums(albums: Array\<Album>, callback: AsyncCallback\<vo…
142 …nagement.userFileManager<br>类名: UserFileManager<br>方法 or 属性:deleteAlbums(albums: Array\<Album>): P…
143 |新增|NA|类名:UserFileManager<br>方法or属性:deleteAlbums(albums: Array\<Album>): Promise\<void>;|@ohos.file…
/ohos5.0/foundation/multimedia/media_library/
H A DREADME.md22 - Query for image and video albums
H A Dhisysevent.yaml129 ALBUM_COUNT: { type: UINT32, desc: number of restored portrait albums }
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v4.0-beta2/
H A Djs-apidiff-file-management.md150 …leteAlbums(albums: Array\<Album>, callback: AsyncCallback\<void>): void;<br>旧版本信息:202,401|类名:Photo…
151 …r>方法or属性:deleteAlbums(albums: Array\<Album>): Promise\<void>;<br>旧版本信息:202,401|类名:PhotoAccessHelpe…
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta1/
H A Djs-apidiff-file-management.md140 …br>Class name: UserFileManager<br>Method or attribute name: deleteAlbums(albums: Array\<Album>, ca…
141 |Added|NA|Class name: UserFileManager<br>Method or attribute name: deleteAlbums(albums: Array\<Albu…
142 …br>Class name: UserFileManager<br>Method or attribute name: deleteAlbums(albums: Array\<Album>): P…
143 |Added|NA|Class name: UserFileManager<br>Method or attribute name: deleteAlbums(albums: Array\<Albu…
/ohos5.0/docs/en/design/ux-design/
H A Dapp-page-structure-design.md87 Music applications have music playlists, music albums, and music playback pages.
/ohos5.0/docs/zh-cn/application-dev/reference/apis-core-file-kit/
H A Djs-apis-userFileManager-sys.md194 …let albums: userFileManager.FetchResult<userFileManager.Album> = await mgr.getPhotoAlbums(fetchOpt…
195 let album: userFileManager.Album = await albums.getFirstObject();
569 deleteAlbums(albums: Array&lt;Album&gt;, callback: AsyncCallback&lt;void&gt;): void;
583 | albums | Array&lt;[Album](#album)&gt; | 是 | 待删除相册的数组。 |
615 deleteAlbums(albums: Array&lt;Album&gt;): Promise&lt;void&gt;;
629 | albums | Array&lt;[Album](#album)&gt; | 是 | 待删除相册的数组。 |
884 console.info('albums.count = ' + fetchResult.getCount());
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_backup_extension/src/
H A Dclone_restore.cpp2011 std::vector<PortraitAlbumDfx> albums; in RecordOldPortraitAlbumDfx() local
2016 albums.insert(albums.end(), batchResults.begin(), batchResults.end()); in RecordOldPortraitAlbumDfx()
2022 for (const auto& album : albums) { in RecordOldPortraitAlbumDfx()

12