* The following example demonstrates how to use the %VideoMetadata class.
*
* @code
+ * #include <FBase.h>
+ * #include <FContent.h>
+ * #include <FSystem.h>
+ *
+ * using namespace Tizen::Content;
+ *
* result
* MyClass::TestVideoMetadata(void)
* {
* Tizen::Base::String contentPath = Tizen::System::Environment::GetMediaPath() + L"Videos/video.mp4";
* VideoMetadata* pVideoMeta = ContentManagerUtil::GetVideoMetaN(contentPath);
- * TryReturn(pVideoMeta != null, GetLastResult(), "ContentManagerUtil::GetVideoMetaN failed.");
+ * result r = GetLastResult();
*
- * // Width
* pVideoMeta->GetWidth();
- *
- * // Height
* pVideoMeta->GetHeight();
- *
- * // Duration
* pVideoMeta->GetDuration();
*
* delete pVideoMeta;
*
- * return E_SUCCESS;
+ * return r;
* }
* @endcode
*/