Lines Matching refs:album
3 …ccessHelper** module provides APIs for listening for media asset (image, video, and album) changes.
66 Register a listener for an album. When the observed album changes, the registered callback will be …
73 … how to register a listener for a user album and then rename the album. A callback will be invoked…
77 1. [Obtain a user album](photoAccessHelper-userAlbum-guidelines.md#obtaining-a-user-album).
78 2. Register a listener for the user album.
79 3. Rename the user album.
99 let album: photoAccessHelper.Album = await fetchResult.getFirstObject();
100 console.info('getAlbums successfully, albumUri: ' + album.albumUri);
105 phAccessHelper.registerChange(album.albumUri, false, onCallback);
106 album.albumName = 'newAlbumName' + Date.now();
107 await album.commitModify();
117 …album URI, the value **true** of **forChildUris** enables listening for the changes of the files i…