Lines Matching refs:albums
194 …let albums: userFileManager.FetchResult<userFileManager.Album> = await mgr.getPhotoAlbums(fetchOpt…
195 let album: userFileManager.Album = await albums.getFirstObject();
569 deleteAlbums(albums: Array<Album>, callback: AsyncCallback<void>): void;
571 Deletes albums. This API uses an asynchronous callback to return the result.
573 Ensure that the albums to be deleted exist. Only user albums can be deleted.
583 | albums | Array<[Album](#album)> | Yes | Albums to delete. |
615 deleteAlbums(albums: Array<Album>): Promise<void>;
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.
629 | albums | Array<[Album](#album)> | Yes | Albums to delete. |
667 Obtains albums based on the specified options and album type. This API uses an asynchronous callbac…
669 …ain hidden albums. Use [getHiddenAlbums](../apis-media-library-kit/js-apis-photoAccessHelper-sys.m…
671 Before the operation, ensure that the albums to obtain exist.
683 | options | [FetchOptions](#fetchoptions) | Yes | Options for fetching the albums. …
728 Obtains albums by type. This API uses an asynchronous callback to return the result.
730 …ain hidden albums. Use [getHiddenAlbums](../apis-media-library-kit/js-apis-photoAccessHelper-sys.m…
732 Before the operation, ensure that the albums to obtain exist.
780 Obtains albums based on the specified options and album type. This API uses a promise to return the…
782 …ain hidden albums. Use [getHiddenAlbums](../apis-media-library-kit/js-apis-photoAccessHelper-sys.m…
784 Before the operation, ensure that the albums to obtain exist.
796 …tions) | No | Options for fetching the albums. If this parameter is not specified, the a…
845 Obtains image and video albums. This API uses an asynchronous callback to return the result.
847 …ain hidden albums. Use [getHiddenAlbums](../apis-media-library-kit/js-apis-photoAccessHelper-sys.m…
859 …bumFetchOptions](#albumfetchoptions) | Yes | Options for fetching the albums. |
860 …)<[Album](#album)>> | Yes | Callback used to return the image and video albums obtained.|
884 console.info('albums.count = ' + fetchResult.getCount());
903 Obtains image and video albums. This API uses a promise to return the result.
905 …ain hidden albums. Use [getHiddenAlbums](../apis-media-library-kit/js-apis-photoAccessHelper-sys.m…
917 …bumFetchOptions](#albumfetchoptions) | Yes | Options for fetching the albums. |
923 …chresult)<[Album](#album)>> | Promise used to return the image and video albums obtained.|
3295 Provides APIs to manage albums.
3965 Provides APIs for managing the system albums.