X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include_product%2Fmedia_info.h;h=15c13a0a099f51b3a401eb724ba85f646ce33d87;hb=6f19706b4d7711bd5f0bbf6bed105b5004b7eaf0;hp=9d00fa4dfcef1ceb1dc1dbedbffd015620567d82;hpb=91d04a3ff55b3f24d25ba989b12e2cc67639fb64;p=platform%2Fcore%2Fapi%2Fmedia-content.git diff --git a/include_product/media_info.h b/include_product/media_info.h index 9d00fa4..15c13a0 100755 --- a/include_product/media_info.h +++ b/include_product/media_info.h @@ -506,6 +506,30 @@ int media_info_get_video(media_info_h media, video_meta_h *video); int media_info_get_audio(media_info_h media, audio_meta_h *audio); /** + * @brief Gets a book metadata handle for a given media info. + * @details This function returns a book metadata handle retrieved from the media info handle. \n + * The title and description information of the book can be obtained from @a media. + * + * @since_tizen 6.5 + * + * @remarks The @a book should be released using book_meta_destroy(). + * + * @param[in] media The handle to the media info + * @param[out] book The handle to the book metadata + * + * @return @c 0 on success, + * otherwise a negative error value + * + * @retval #MEDIA_CONTENT_ERROR_NONE Successful + * @retval #MEDIA_CONTENT_ERROR_INVALID_PARAMETER Invalid parameter + * + * @see media_info_get_title() + * @see media_info_get_description() + * @see book_meta_destroy() + */ +int media_info_get_book(media_info_h media, book_meta_h *book); + +/** * @brief Gets the media ID. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * @remarks The @a media_id should be released using free().