From: Minje Ahn Date: Thu, 12 Oct 2017 08:12:35 +0000 (+0900) Subject: [media-content][ACR-1098] Remove deprecated API from sample code X-Git-Tag: MD/guides-dotnet~94^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b220fd8ff4fea141a158c6ac30616ad6c1787105;p=sdk%2Fonline-doc.git [media-content][ACR-1098] Remove deprecated API from sample code Change-Id: I12965529137ce92f5af1eac92038cc728d6f2229 Signed-off-by: Minje Ahn --- diff --git a/org.tizen.guides/html/native/media/media_content_n.htm b/org.tizen.guides/html/native/media/media_content_n.htm index fde6776..9d60bfc 100644 --- a/org.tizen.guides/html/native/media/media_content_n.htm +++ b/org.tizen.guides/html/native/media/media_content_n.htm @@ -1149,7 +1149,6 @@ if (ret != MEDIA_CONTENT_ERROR_NONE) { int width = 0; int height = 0; char *datetaken = NULL; - char *burst_id = NULL; ret = media_info_get_image(media_handle, &image_handle); if (ret != MEDIA_CONTENT_ERROR_NONE) { @@ -1159,7 +1158,6 @@ if (ret != MEDIA_CONTENT_ERROR_NONE) { image_meta_get_height(image_handle, &height); image_meta_get_orientation(image_handle, &orientation); image_meta_get_date_taken(image_handle, &datetaken); - image_meta_get_burst_id(image_handle, &burst_id); dlog_print(DLOG_DEBUG, LOG_TAG, "This is an image"); dlog_print(DLOG_DEBUG, LOG_TAG, @@ -1169,8 +1167,6 @@ if (ret != MEDIA_CONTENT_ERROR_NONE) { if (datetaken) free(datetaken); - if (burst_id) - free(burst_id); image_meta_destroy(image_handle); } else if (media_type == MEDIA_CONTENT_TYPE_VIDEO) { @@ -2141,16 +2137,6 @@ media_cb(media_info_h media, void *user_data) Time the image was created

You can get this information from the EXIF tag. If there is no EXIF tag for the image, set the created time in the file system.

- - Is burstshot - Check flag for a burst shot of the image -

The burst shot is a continuous shooting mode.

- - - Burstshot ID - ID of a burst shot image -

Assign the same ID to the burst shooting mode.

-

For metadata of a video file, call withmedia_info_get_video() function with the media handle.