1# media_access_helper_capi.h 2 3## Overview 4 5The file declares the APIs for album management. 6 7You can use the APIs to create an album, and access and modify the media data in the album. 8 9**Library**: libmedia_asset_manager.so 10 11**File to include**: <multimedia/media_library/media_access_helper_capi.h> 12 13**System capability**: SystemCapability.FileManagement.PhotoAccessHelper.Core 14 15**Since**: 12 16 17**Related module**: [MediaAssetManager](capi-mediaassetmanager.md) 18 19## Summary 20 21### Functions 22 23| Name| Description| 24| -- | -- | 25| [MediaLibrary_ErrorCode OH_MediaAccessHelper_ApplyChanges(OH_MediaAssetChangeRequest* changeRequest)](#oh_mediaaccesshelper_applychanges) | Applies changes to an asset or album.| 26 27## Function Description 28 29### OH_MediaAccessHelper_ApplyChanges() 30 31``` 32MediaLibrary_ErrorCode OH_MediaAccessHelper_ApplyChanges(OH_MediaAssetChangeRequest* changeRequest) 33``` 34 35**Description** 36 37Applies changes to an asset or album. 38 39**Required permissions**: ohos.permission.WRITE_IMAGEVIDEO 40 41**Since**: 12 42 43 44**Parameters** 45 46| Parameter| Description| 47| -- | -- | 48| [OH_MediaAssetChangeRequest](capi-mediaassetmanager-oh-mediaassetchangerequest.md)* changeRequest | Change request.| 49 50**Return value** 51 52| Type| Description| 53| -- | -- | 54| [MediaLibrary_ErrorCode](capi-media-asset-base-capi-h.md#medialibrary_errorcode) | **MEDIA_LIBRARY_OK**: operation success.<br>**MEDIA_LIBRARY_PARAMETER_ERROR**: incorrect parameters. Possible reasons:<br> 1. A mandatory parameter is not specified.<br> 2. A parameter type is incorrect.<br> 3. Parameter verification fails.<br>**MEDIA_LIBRARY_PERMISSION_DENIED**: access denied due to lack of permission.<br>**MEDIA_LIBRARY_INTERNAL_SYSTEM_ERROR**: internal system error.| 55