Lines Matching refs:album

16 **Favorites** is a system album. Favoriting an image or video adds the image or video to **Favorite…
29 1. Set the album type to **photoAccessHelper.AlbumType.SYSTEM** and the album subtype to **photoAcc…
40 let album: photoAccessHelper.Album = await fetchResult.getFirstObject();
41 console.info('get favorite album successfully, albumUri: ' + album.albumUri);
44 console.error('get favorite album failed with err: ' + err);
128 let album: photoAccessHelper.Album = await albumFetchResult.getFirstObject();
129 console.info('get favorite album successfully, albumUri: ' + album.albumUri);
131 …let photoFetchResult: photoAccessHelper.FetchResult<photoAccessHelper.PhotoAsset> = await album.ge…
133 …console.info('favorite album getAssets successfully, photoAsset displayName: ' + photoAsset.displa…
176 let album: photoAccessHelper.Album = await albumFetchResult.getFirstObject();
177 console.info('get favorite album successfully, albumUri: ' + album.albumUri);
179 …let photoFetchResult: photoAccessHelper.FetchResult<photoAccessHelper.PhotoAsset> = await album.ge…
181 …console.info('favorite album getAssets successfully, photoAsset displayName: ' + photoAsset.displa…
198 **Videos** is a system album that holds media assets of the video type in user files.
211 1. Set the album type to **photoAccessHelper.AlbumType.SYSTEM** and the album subtype to **photoAcc…
222 let album: photoAccessHelper.Album = await fetchResult.getFirstObject();
223 console.info('get video album successfully, albumUri: ' + album.albumUri);
226 console.error('get video album failed with err: ' + err);
233 …y-kit/js-apis-photoAccessHelper.md#getassets-3) to obtain the video assets in the **Videos** album.
264 let album: photoAccessHelper.Album = await albumFetchResult.getFirstObject();
265 console.info('get video album successfully, albumUri: ' + album.albumUri);
267 …let videoFetchResult: photoAccessHelper.FetchResult<photoAccessHelper.PhotoAsset> = await album.ge…
269 …console.info('video album getAssets successfully, photoAsset displayName: ' + photoAsset.displayNa…
281 **Screenshots** is a system album that holds user's screenshots and screen recording files.
294 1. Set the album type to **photoAccessHelper.AlbumType.SYSTEM** and the album subtype to **photoAcc…
305 let album: photoAccessHelper.Album = await fetchResult.getFirstObject();
306 console.info('get screenshot album successfully, albumUri: ' + album.albumUri);
309 console.error('get screenshot album failed with err: ' + err);
347 let album: photoAccessHelper.Album = await albumFetchResult.getFirstObject();
348 console.info('get screenshot album successfully, albumUri: ' + album.albumUri);
350 …sult: photoAccessHelper.FetchResult<photoAccessHelper.PhotoAsset> = await album.getAssets(fetchOpt…
352 …console.info('screenshot album getAssets successfully, photoAsset displayName: ' + photoAsset.disp…
356 console.error('screenshot album failed with err: ' + err);