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);
}
}
</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">