Lines Matching refs:album
3 …** module provides APIs for album management, including creating an album and accessing and modify…
19 …hotoAccessHelper** instance, which can be used for accessing and modifying media files in an album.
257 Obtains albums based on the specified options and album type. This API uses a promise to return the…
270 | subtype | [AlbumSubtype](#albumsubtype) | Yes | Subtype of the album…
271 …s. If this parameter is not specified, the albums are obtained based on the album type by default.|
277 | Promise<[FetchResult](#fetchresult)<[Album](#album)>> | Promise used to return the re…
298 // Obtain the album named newAlbumName.
311 let album: sendablePhotoAccessHelper.Album = await fetchResult.getFirstObject();
312 console.info('getAlbumsPromise successfully, albumName: ' + album.albumName);
342 | Promise<[FetchResult](#fetchresult)<[Album](#album)>> | Promise used to return the re…
363 // Obtain the album named newAlbumName.
376 let album: sendablePhotoAccessHelper.Album = await fetchResult.getFirstObject();
377 console.info('getAlbumsPromise successfully, albumName: ' + album.albumName);
1083 … | [AlbumType](#albumtype) | Yes | No | Type of the album. |
1084 …e | [AlbumSubtype](#albumsubtype) | Yes | No | Subtype of the album. |
1085 …| string | Yes for a user album; no for a system album.| No | Name of the …
1086 … | string | Yes | No | URI of the album. |
1087 …number | Yes | No | Number of files in the album.|
1088 … | Yes | No | URI of the cover file of the album. |
1089 …mber | Yes | Yes | Number of images in the album.|
1090 …mber | Yes | Yes | Number of videos in the album.|
1096 Converts this sendable album to a non-sendable album.
1106 | photoAccessHelper.Album | Non-sendable [Album](js-apis-photoAccessHelper.md#album).|
1139 let album: photoAccessHelper.Album = sendableAlbum.convertToPhotoAlbum();
1140 album.getAssets(fetchOption).then((albumFetchResult) => {
1200 let album: sendablePhotoAccessHelper.Album = await albumList.getFirstObject();
1201 album.getAssets(fetchOption).then((albumFetchResult) => {
1202 console.info('album getAssets successfully, getCount: ' + albumFetchResult.getCount());
1204 console.error(`album getAssets failed with error: ${err.code}, ${err.message}`);
1213 Commits the modification on the album attributes to the database. This API uses a promise to return…
1251 let album: sendablePhotoAccessHelper.Album = await albumList.getFirstObject();
1252 album.albumName = 'hello';
1253 album.commitModify().then(() => {
1276 Enumerates the album types.
1282 | USER | 0 | User album. |
1283 | SYSTEM | 1024 | System album.|
1287 Enumerate the album subtypes.
1293 | USER\_GENERIC | 1 | User album.|
1295 | VIDEO | 1026 | Video album.|
1296 | IMAGE | 1031 | Photo album.|
1297 | ANY | 2147483647 | Any album.|