[Tutorial][media-content] Modify tutorials and add note for deprecated API.
authorMinje Ahn <minje.ahn@samsung.com>
Tue, 7 Jul 2015 10:25:22 +0000 (19:25 +0900)
committerMinje Ahn <minje.ahn@samsung.com>
Tue, 7 Jul 2015 10:43:20 +0000 (19:43 +0900)
Change-Id: If003896c4d3e46e5d6ef5e7548a099e9e2b5fc90
Signed-off-by: Minje Ahn <minje.ahn@samsung.com>
org.tizen.tutorials/html/native/content/media_content_tutorial_n.htm

index 7f4a001..1aef36a 100644 (file)
@@ -1363,7 +1363,7 @@ else
 
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;video_meta_get_duration(video_handle, &amp;duration);
 
-&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;video_meta_get_played_time(video_handle, &amp;time_played);
+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;media_info_get_played_time(media_handle, &amp;time_played);
 
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dlog_print(DLOG_DEBUG, LOG_TAG, &quot;This is a video&quot;);
 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dlog_print(DLOG_DEBUG, LOG_TAG, &quot;Title: %s, Album: %s, Artist: %s, Album_artist: %s \n Duration: %d, Played time: %d&quot;, title, album, artist, album_artist, duration, time_played);
@@ -1386,7 +1386,20 @@ else
 &nbsp;&nbsp;&nbsp;}
 }
 </pre></li>
-
+<table class="note">
+<tbody>
+<tr>
+<th class="note">Note</th>
+</tr>
+<tr>
+<td class="note">Note that the video_meta_get_played_time () and a few APIs have been <strong>deprecated since Tizen 2.4</strong>.<br />
+To replace video_meta_get_played_time (), use media_info_get_played_time () instead.<br />
+Although the deprecated APIs continue to be available, it is strongly recommended to use new APIs.<br />
+For more information on the deprecated information, please refer to the media content mobile API reference (<a href="../../../../org.tizen.native.mobile.apireference/group_CAPIMEDIA_CONTENT_MODULE.html">link</a>) and the media content wearable API reference (<a href="../../../../org.tizen.native.mobile.apireference/group_CAPIMEDIA_CONTENT_MODULE.html">link</a>)
+</td>
+</tr>
+</tbody>
+</table>
 <li>When the filter is no longer used, destroy the list, filter, and query:
 
 <pre class="prettyprint">