176fd607bSopenharmony_ci/* 276fd607bSopenharmony_ci * Copyright (C) 2024 Huawei Device Co., Ltd. 376fd607bSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License"); 476fd607bSopenharmony_ci * you may not use this file except in compliance with the License. 576fd607bSopenharmony_ci * You may obtain a copy of the License at 676fd607bSopenharmony_ci * 776fd607bSopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0 876fd607bSopenharmony_ci * 976fd607bSopenharmony_ci * Unless required by applicable law or agreed to in writing, software 1076fd607bSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS, 1176fd607bSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1276fd607bSopenharmony_ci * See the License for the specific language governing permissions and 1376fd607bSopenharmony_ci * limitations under the License. 1476fd607bSopenharmony_ci */ 1576fd607bSopenharmony_ci 1676fd607bSopenharmony_ci/** 1776fd607bSopenharmony_ci * @addtogroup MediaAssetManager 1876fd607bSopenharmony_ci * @{ 1976fd607bSopenharmony_ci * 2076fd607bSopenharmony_ci * @brief Provides APIs of request capability for Media Source. 2176fd607bSopenharmony_ci * 2276fd607bSopenharmony_ci * @since 12 2376fd607bSopenharmony_ci */ 2476fd607bSopenharmony_ci 2576fd607bSopenharmony_ci/** 2676fd607bSopenharmony_ci * @file media_asset_capi.h 2776fd607bSopenharmony_ci * 2876fd607bSopenharmony_ci * @brief Defines APIs related to media asset. 2976fd607bSopenharmony_ci * 3076fd607bSopenharmony_ci * Provides the ability to obtain image or video information. 3176fd607bSopenharmony_ci * 3276fd607bSopenharmony_ci * @kit MediaLibraryKit 3376fd607bSopenharmony_ci * @syscap SystemCapability.FileManagement.PhotoAccessHelper.Core 3476fd607bSopenharmony_ci * @library libmedia_asset_manager.so 3576fd607bSopenharmony_ci * @since 12 3676fd607bSopenharmony_ci */ 3776fd607bSopenharmony_ci 3876fd607bSopenharmony_ci#ifndef MULTIMEDIA_MEDIA_LIBRARY_NATIVE_MEDIA_ASSET_H 3976fd607bSopenharmony_ci#define MULTIMEDIA_MEDIA_LIBRARY_NATIVE_MEDIA_ASSET_H 4076fd607bSopenharmony_ci 4176fd607bSopenharmony_ci#include "media_asset_base_capi.h" 4276fd607bSopenharmony_ci 4376fd607bSopenharmony_ci#ifdef __cplusplus 4476fd607bSopenharmony_ciextern "C" { 4576fd607bSopenharmony_ci#endif 4676fd607bSopenharmony_ci 4776fd607bSopenharmony_ci/** 4876fd607bSopenharmony_ci * @brief Get the uri of the media asset. 4976fd607bSopenharmony_ci * 5076fd607bSopenharmony_ci * @param mediaAsset the {@link OH_MediaAsset} instance. 5176fd607bSopenharmony_ci * @param uri the uri of the media asset. 5276fd607bSopenharmony_ci * @return {@link #MEDIA_LIBRARY_OK} if the method call succeeds. 5376fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_PARAMETER_ERROR} Parameter error. Possible causes: 5476fd607bSopenharmony_ci * 1. Mandatory parameters are left unspecified. 5576fd607bSopenharmony_ci * 2. Incorrect parameter types. 5676fd607bSopenharmony_ci * 3. Parameter verification failed. 5776fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_INTERNAL_SYSTEM_ERROR} if internal system error. 5876fd607bSopenharmony_ci * @since 12 5976fd607bSopenharmony_ci */ 6076fd607bSopenharmony_ciMediaLibrary_ErrorCode OH_MediaAsset_GetUri(OH_MediaAsset* mediaAsset, const char** uri); 6176fd607bSopenharmony_ci 6276fd607bSopenharmony_ci/** 6376fd607bSopenharmony_ci * @brief Get the media file type of the media asset. 6476fd607bSopenharmony_ci * 6576fd607bSopenharmony_ci * @param mediaAsset the {@link OH_MediaAsset} instance. 6676fd607bSopenharmony_ci * @param mediaType the media file type of the media asset. 6776fd607bSopenharmony_ci * @return {@link #MEDIA_LIBRARY_OK} if the method call succeeds. 6876fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_PARAMETER_ERROR} Parameter error. Possible causes: 6976fd607bSopenharmony_ci * 1. Mandatory parameters are left unspecified. 7076fd607bSopenharmony_ci * 2. Incorrect parameter types. 7176fd607bSopenharmony_ci * 3. Parameter verification failed. 7276fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_INTERNAL_SYSTEM_ERROR} if internal system error. 7376fd607bSopenharmony_ci * @since 13 7476fd607bSopenharmony_ci */ 7576fd607bSopenharmony_ciMediaLibrary_ErrorCode OH_MediaAsset_GetMediaType(OH_MediaAsset* mediaAsset, MediaLibrary_MediaType* mediaType); 7676fd607bSopenharmony_ci 7776fd607bSopenharmony_ci/** 7876fd607bSopenharmony_ci * @brief Get the subtype of the media asset. 7976fd607bSopenharmony_ci * 8076fd607bSopenharmony_ci * @param mediaAsset the {@link OH_MediaAsset} instance. 8176fd607bSopenharmony_ci * @param mediaSubType the subtype of the media asset. 8276fd607bSopenharmony_ci * @return {@link #MEDIA_LIBRARY_OK} if the method call succeeds. 8376fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_PARAMETER_ERROR} Parameter error. Possible causes: 8476fd607bSopenharmony_ci * 1. Mandatory parameters are left unspecified. 8576fd607bSopenharmony_ci * 2. Incorrect parameter types. 8676fd607bSopenharmony_ci * 3. Parameter verification failed. 8776fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_INTERNAL_SYSTEM_ERROR} if internal system error. 8876fd607bSopenharmony_ci * @since 13 8976fd607bSopenharmony_ci */ 9076fd607bSopenharmony_ciMediaLibrary_ErrorCode OH_MediaAsset_GetMediaSubType(OH_MediaAsset* mediaAsset, 9176fd607bSopenharmony_ci MediaLibrary_MediaSubType* mediaSubType); 9276fd607bSopenharmony_ci 9376fd607bSopenharmony_ci/** 9476fd607bSopenharmony_ci * @brief Get the display name of the media asset. 9576fd607bSopenharmony_ci * 9676fd607bSopenharmony_ci * @param mediaAsset the {@link OH_MediaAsset} instance. 9776fd607bSopenharmony_ci * @param displayName the display name of the media asset. 9876fd607bSopenharmony_ci * @return {@link #MEDIA_LIBRARY_OK} if the method call succeeds. 9976fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_PARAMETER_ERROR} Parameter error. Possible causes: 10076fd607bSopenharmony_ci * 1. Mandatory parameters are left unspecified. 10176fd607bSopenharmony_ci * 2. Incorrect parameter types. 10276fd607bSopenharmony_ci * 3. Parameter verification failed. 10376fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_INTERNAL_SYSTEM_ERROR} if internal system error. 10476fd607bSopenharmony_ci * @since 12 10576fd607bSopenharmony_ci */ 10676fd607bSopenharmony_ciMediaLibrary_ErrorCode OH_MediaAsset_GetDisplayName(OH_MediaAsset* mediaAsset, const char** displayName); 10776fd607bSopenharmony_ci 10876fd607bSopenharmony_ci/** 10976fd607bSopenharmony_ci * @brief Get the file size of the media asset 11076fd607bSopenharmony_ci * 11176fd607bSopenharmony_ci * @param mediaAsset the {@link OH_MediaAsset} instance. 11276fd607bSopenharmony_ci * @param size the file size(in bytes) of the media asset. 11376fd607bSopenharmony_ci * @return {@link #MEDIA_LIBRARY_OK} if the method call succeeds. 11476fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_PARAMETER_ERROR} Parameter error. Possible causes: 11576fd607bSopenharmony_ci * 1. Mandatory parameters are left unspecified. 11676fd607bSopenharmony_ci * 2. Incorrect parameter types. 11776fd607bSopenharmony_ci * 3. Parameter verification failed. 11876fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_INTERNAL_SYSTEM_ERROR} if internal system error. 11976fd607bSopenharmony_ci * @since 12 12076fd607bSopenharmony_ci */ 12176fd607bSopenharmony_ciMediaLibrary_ErrorCode OH_MediaAsset_GetSize(OH_MediaAsset* mediaAsset, uint32_t* size); 12276fd607bSopenharmony_ci 12376fd607bSopenharmony_ci/** 12476fd607bSopenharmony_ci * @brief Get the date of asset creation. 12576fd607bSopenharmony_ci * 12676fd607bSopenharmony_ci * @param mediaAsset the {@link OH_MediaAsset} instance. 12776fd607bSopenharmony_ci * @param dateAdded the creation date of the asset. 12876fd607bSopenharmony_ci * The value is the number of seconds elapsed since the Epoch time (00:00:00 UTC on January 1, 1970). 12976fd607bSopenharmony_ci * @return {@link #MEDIA_LIBRARY_OK} if the method call succeeds. 13076fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_PARAMETER_ERROR} Parameter error. Possible causes: 13176fd607bSopenharmony_ci * 1. Mandatory parameters are left unspecified. 13276fd607bSopenharmony_ci * 2. Incorrect parameter types. 13376fd607bSopenharmony_ci * 3. Parameter verification failed. 13476fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_INTERNAL_SYSTEM_ERROR} if internal system error. 13576fd607bSopenharmony_ci * @since 13 13676fd607bSopenharmony_ci */ 13776fd607bSopenharmony_ciMediaLibrary_ErrorCode OH_MediaAsset_GetDateAdded(OH_MediaAsset* mediaAsset, uint32_t* dateAdded); 13876fd607bSopenharmony_ci 13976fd607bSopenharmony_ci/** 14076fd607bSopenharmony_ci * @brief Get the modified date of the asset. 14176fd607bSopenharmony_ci * 14276fd607bSopenharmony_ci * @param mediaAsset the {@link OH_MediaAsset} instance. 14376fd607bSopenharmony_ci * @param dateModified the modified date of the asset. 14476fd607bSopenharmony_ci * The value is the number of seconds elapsed since the Epoch time. 14576fd607bSopenharmony_ci * @return {@link #MEDIA_LIBRARY_OK} if the method call succeeds. 14676fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_PARAMETER_ERROR} Parameter error. Possible causes: 14776fd607bSopenharmony_ci * 1. Mandatory parameters are left unspecified. 14876fd607bSopenharmony_ci * 2. Incorrect parameter types. 14976fd607bSopenharmony_ci * 3. Parameter verification failed. 15076fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_INTERNAL_SYSTEM_ERROR} if internal system error. 15176fd607bSopenharmony_ci * @since 13 15276fd607bSopenharmony_ci */ 15376fd607bSopenharmony_ciMediaLibrary_ErrorCode OH_MediaAsset_GetDateModified(OH_MediaAsset* mediaAsset, uint32_t* dateModified); 15476fd607bSopenharmony_ci 15576fd607bSopenharmony_ci/** 15676fd607bSopenharmony_ci * @brief Get the date taken of the asset. 15776fd607bSopenharmony_ci * 15876fd607bSopenharmony_ci * @param mediaAsset the {@link OH_MediaAsset} instance. 15976fd607bSopenharmony_ci * @param dateTaken the date taken of the asset. 16076fd607bSopenharmony_ci * The value is the number of seconds elapsed since the Epoch time. 16176fd607bSopenharmony_ci * @return {@link #MEDIA_LIBRARY_OK} if the method call succeeds. 16276fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_PARAMETER_ERROR} Parameter error. Possible causes: 16376fd607bSopenharmony_ci * 1. Mandatory parameters are left unspecified. 16476fd607bSopenharmony_ci * 2. Incorrect parameter types. 16576fd607bSopenharmony_ci * 3. Parameter verification failed. 16676fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_INTERNAL_SYSTEM_ERROR} if internal system error. 16776fd607bSopenharmony_ci * @since 13 16876fd607bSopenharmony_ci */ 16976fd607bSopenharmony_ciMediaLibrary_ErrorCode OH_MediaAsset_GetDateTaken(OH_MediaAsset* mediaAsset, uint32_t* dateTaken); 17076fd607bSopenharmony_ci 17176fd607bSopenharmony_ci/** 17276fd607bSopenharmony_ci * @brief Get the creation time of the asset in milliseconds. 17376fd607bSopenharmony_ci * 17476fd607bSopenharmony_ci * @param mediaAsset the {@link OH_MediaAsset} instance. 17576fd607bSopenharmony_ci * @param dateAddedMs the creation time of the asset in milliseconds. 17676fd607bSopenharmony_ci * @return {@link #MEDIA_LIBRARY_OK} if the method call succeeds. 17776fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_PARAMETER_ERROR} Parameter error. Possible causes: 17876fd607bSopenharmony_ci * 1. Mandatory parameters are left unspecified. 17976fd607bSopenharmony_ci * 2. Incorrect parameter types. 18076fd607bSopenharmony_ci * 3. Parameter verification failed. 18176fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_INTERNAL_SYSTEM_ERROR} if internal system error. 18276fd607bSopenharmony_ci * @since 13 18376fd607bSopenharmony_ci */ 18476fd607bSopenharmony_ciMediaLibrary_ErrorCode OH_MediaAsset_GetDateAddedMs(OH_MediaAsset* mediaAsset, uint32_t* dateAddedMs); 18576fd607bSopenharmony_ci 18676fd607bSopenharmony_ci/** 18776fd607bSopenharmony_ci * @brief Get the modified time of the asset in milliseconds. 18876fd607bSopenharmony_ci * 18976fd607bSopenharmony_ci * @param mediaAsset the {@link OH_MediaAsset} instance. 19076fd607bSopenharmony_ci * @param dateModifiedMs the modified time of the asset in milliseconds. 19176fd607bSopenharmony_ci * @return {@link #MEDIA_LIBRARY_OK} if the method call succeeds. 19276fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_PARAMETER_ERROR} Parameter error. Possible causes: 19376fd607bSopenharmony_ci * 1. Mandatory parameters are left unspecified. 19476fd607bSopenharmony_ci * 2. Incorrect parameter types. 19576fd607bSopenharmony_ci * 3. Parameter verification failed. 19676fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_INTERNAL_SYSTEM_ERROR} if internal system error. 19776fd607bSopenharmony_ci * @since 12 19876fd607bSopenharmony_ci */ 19976fd607bSopenharmony_ciMediaLibrary_ErrorCode OH_MediaAsset_GetDateModifiedMs(OH_MediaAsset* mediaAsset, uint32_t* dateModifiedMs); 20076fd607bSopenharmony_ci 20176fd607bSopenharmony_ci/** 20276fd607bSopenharmony_ci * @brief Get the duration of the media asset in milliseconds. 20376fd607bSopenharmony_ci * 20476fd607bSopenharmony_ci * @param mediaAsset the {@link OH_MediaAsset} instance. 20576fd607bSopenharmony_ci * @param duration the duration of the media asset in milliseconds. 20676fd607bSopenharmony_ci * @return {@link #MEDIA_LIBRARY_OK} if the method call succeeds. 20776fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_PARAMETER_ERROR} Parameter error. Possible causes: 20876fd607bSopenharmony_ci * 1. Mandatory parameters are left unspecified. 20976fd607bSopenharmony_ci * 2. Incorrect parameter types. 21076fd607bSopenharmony_ci * 3. Parameter verification failed. 21176fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_INTERNAL_SYSTEM_ERROR} if internal system error. 21276fd607bSopenharmony_ci * @since 13 21376fd607bSopenharmony_ci */ 21476fd607bSopenharmony_ciMediaLibrary_ErrorCode OH_MediaAsset_GetDuration(OH_MediaAsset* mediaAsset, uint32_t* duration); 21576fd607bSopenharmony_ci 21676fd607bSopenharmony_ci/** 21776fd607bSopenharmony_ci * @brief Get the image width(in pixels) of the media asset. 21876fd607bSopenharmony_ci * 21976fd607bSopenharmony_ci * @param mediaAsset the {@link OH_MediaAsset} instance. 22076fd607bSopenharmony_ci * @param width the image width(in pixels) of the media asset. 22176fd607bSopenharmony_ci * @return {@link #MEDIA_LIBRARY_OK} if the method call succeeds. 22276fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_PARAMETER_ERROR} Parameter error. Possible causes: 22376fd607bSopenharmony_ci * 1. Mandatory parameters are left unspecified. 22476fd607bSopenharmony_ci * 2. Incorrect parameter types. 22576fd607bSopenharmony_ci * 3. Parameter verification failed. 22676fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_INTERNAL_SYSTEM_ERROR} if internal system error. 22776fd607bSopenharmony_ci * @since 12 22876fd607bSopenharmony_ci */ 22976fd607bSopenharmony_ciMediaLibrary_ErrorCode OH_MediaAsset_GetWidth(OH_MediaAsset* mediaAsset, uint32_t* width); 23076fd607bSopenharmony_ci 23176fd607bSopenharmony_ci/** 23276fd607bSopenharmony_ci * @brief Get the image height(in pixels) of the media asset. 23376fd607bSopenharmony_ci * 23476fd607bSopenharmony_ci * @param mediaAsset the {@link OH_MediaAsset} instance. 23576fd607bSopenharmony_ci * @param height the image height(in pixels) of the media asset. 23676fd607bSopenharmony_ci * @return {@link #MEDIA_LIBRARY_OK} if the method call succeeds. 23776fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_PARAMETER_ERROR} Parameter error. Possible causes: 23876fd607bSopenharmony_ci * 1. Mandatory parameters are left unspecified. 23976fd607bSopenharmony_ci * 2. Incorrect parameter types. 24076fd607bSopenharmony_ci * 3. Parameter verification failed. 24176fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_INTERNAL_SYSTEM_ERROR} if internal system error. 24276fd607bSopenharmony_ci * @since 12 24376fd607bSopenharmony_ci */ 24476fd607bSopenharmony_ciMediaLibrary_ErrorCode OH_MediaAsset_GetHeight(OH_MediaAsset* mediaAsset, uint32_t* height); 24576fd607bSopenharmony_ci 24676fd607bSopenharmony_ci/** 24776fd607bSopenharmony_ci * @brief Get the orientation of the image. 24876fd607bSopenharmony_ci * 24976fd607bSopenharmony_ci * @param mediaAsset the {@link OH_MediaAsset} instance. 25076fd607bSopenharmony_ci * @param orientation the orientation of the image. 25176fd607bSopenharmony_ci * @return {@link #MEDIA_LIBRARY_OK} if the method call succeeds. 25276fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_PARAMETER_ERROR} Parameter error. Possible causes: 25376fd607bSopenharmony_ci * 1. Mandatory parameters are left unspecified. 25476fd607bSopenharmony_ci * 2. Incorrect parameter types. 25576fd607bSopenharmony_ci * 3. Parameter verification failed. 25676fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_INTERNAL_SYSTEM_ERROR} if internal system error. 25776fd607bSopenharmony_ci * @since 12 25876fd607bSopenharmony_ci */ 25976fd607bSopenharmony_ciMediaLibrary_ErrorCode OH_MediaAsset_GetOrientation(OH_MediaAsset* mediaAsset, uint32_t* orientation); 26076fd607bSopenharmony_ci 26176fd607bSopenharmony_ci/** 26276fd607bSopenharmony_ci * @brief Get the favorite state of the asset. 26376fd607bSopenharmony_ci * 26476fd607bSopenharmony_ci * @param mediaAsset the {@link OH_MediaAsset} instance. 26576fd607bSopenharmony_ci * @param favorite the favorite state of the media asset. 26676fd607bSopenharmony_ci * @return {@link #MEDIA_LIBRARY_OK} if the method call succeeds. 26776fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_PARAMETER_ERROR} Parameter error. Possible causes: 26876fd607bSopenharmony_ci * 1. Mandatory parameters are left unspecified. 26976fd607bSopenharmony_ci * 2. Incorrect parameter types. 27076fd607bSopenharmony_ci * 3. Parameter verification failed. 27176fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_INTERNAL_SYSTEM_ERROR} if internal system error. 27276fd607bSopenharmony_ci * @since 13 27376fd607bSopenharmony_ci */ 27476fd607bSopenharmony_ciMediaLibrary_ErrorCode OH_MediaAsset_IsFavorite(OH_MediaAsset* mediaAsset, uint32_t* favorite); 27576fd607bSopenharmony_ci 27676fd607bSopenharmony_ci/** 27776fd607bSopenharmony_ci * @brief Get the title of the media asset. 27876fd607bSopenharmony_ci * 27976fd607bSopenharmony_ci * @param mediaAsset the {@link OH_MediaAsset} instance. 28076fd607bSopenharmony_ci * @param title the title of the media asset. 28176fd607bSopenharmony_ci * @return {@link #MEDIA_LIBRARY_OK} if the method call succeeds. 28276fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_PARAMETER_ERROR} Parameter error. Possible causes: 28376fd607bSopenharmony_ci * 1. Mandatory parameters are left unspecified. 28476fd607bSopenharmony_ci * 2. Incorrect parameter types. 28576fd607bSopenharmony_ci * 3. Parameter verification failed. 28676fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_INTERNAL_SYSTEM_ERROR} if internal system error. 28776fd607bSopenharmony_ci * @since 13 28876fd607bSopenharmony_ci */ 28976fd607bSopenharmony_ciMediaLibrary_ErrorCode OH_MediaAsset_GetTitle(OH_MediaAsset* mediaAsset, const char** title); 29076fd607bSopenharmony_ci 29176fd607bSopenharmony_ci/** 29276fd607bSopenharmony_ci * @brief Release the media asset 29376fd607bSopenharmony_ci * 29476fd607bSopenharmony_ci * @param mediaAsset the {@link OH_MediaAsset} instance. 29576fd607bSopenharmony_ci * @return {@link #MEDIA_LIBRARY_OK} if the method call succeeds. 29676fd607bSopenharmony_ci * {@link #MEDIA_LIBRARY_PARAMETER_ERROR} Parameter error. Possible causes: 29776fd607bSopenharmony_ci * 1. Mandatory parameters are left unspecified. 29876fd607bSopenharmony_ci * 2. Incorrect parameter types. 29976fd607bSopenharmony_ci * 3. Parameter verification failed. 30076fd607bSopenharmony_ci * @since 12 30176fd607bSopenharmony_ci */ 30276fd607bSopenharmony_ciMediaLibrary_ErrorCode OH_MediaAsset_Release(OH_MediaAsset* mediaAsset); 30376fd607bSopenharmony_ci 30476fd607bSopenharmony_ci#ifdef __cplusplus 30576fd607bSopenharmony_ci} 30676fd607bSopenharmony_ci#endif 30776fd607bSopenharmony_ci 30876fd607bSopenharmony_ci#endif // MULTIMEDIA_MEDIA_LIBRARY_NATIVE_MEDIA_ASSET_H 30976fd607bSopenharmony_ci/** @} */