From: Minje Ahn Date: Tue, 7 Jul 2015 10:25:22 +0000 (+0900) Subject: [Tutorial][media-content] Modify tutorials and add note for deprecated API. X-Git-Tag: tizen_3.0/TD_SYNC/20161201~732^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a12c866a5811799a2ba0a24ba84d526defe956c;p=sdk%2Fonline-doc.git [Tutorial][media-content] Modify tutorials and add note for deprecated API. Change-Id: If003896c4d3e46e5d6ef5e7548a099e9e2b5fc90 Signed-off-by: Minje Ahn --- diff --git a/org.tizen.tutorials/html/native/content/media_content_tutorial_n.htm b/org.tizen.tutorials/html/native/content/media_content_tutorial_n.htm index 7f4a001..1aef36a 100644 --- a/org.tizen.tutorials/html/native/content/media_content_tutorial_n.htm +++ b/org.tizen.tutorials/html/native/content/media_content_tutorial_n.htm @@ -1363,7 +1363,7 @@ else             video_meta_get_duration(video_handle, &duration); -            video_meta_get_played_time(video_handle, &time_played); +            media_info_get_played_time(media_handle, &time_played);             dlog_print(DLOG_DEBUG, LOG_TAG, "This is a video");             dlog_print(DLOG_DEBUG, LOG_TAG, "Title: %s, Album: %s, Artist: %s, Album_artist: %s \n Duration: %d, Played time: %d", title, album, artist, album_artist, duration, time_played); @@ -1386,7 +1386,20 @@ else    } } - + + + + + + + + + +
Note
Note that the video_meta_get_played_time () and a few APIs have been deprecated since Tizen 2.4.
+To replace video_meta_get_played_time (), use media_info_get_played_time () instead.
+Although the deprecated APIs continue to be available, it is strongly recommended to use new APIs.
+For more information on the deprecated information, please refer to the media content mobile API reference (link) and the media content wearable API reference (link) +
  • When the filter is no longer used, destroy the list, filter, and query: