Change-Id: Ib5fc46a650e189ca35f510d61f0f107835448374
*/
virtual VideoPlayerPlugin::DisplayMode::Type GetDisplayMode() const = 0;
+ /**
+ * @brief Returns the current internal media player.
+ * @return The current internal media player of video player
+ */
+ virtual Any GetMediaPlayer() = 0;
+
};
} // namespace Dali;
return GetImplementation( *this ).GetDisplayMode();
}
+Any VideoPlayer::GetMediaPlayer()
+{
+ return GetImplementation( *this ).GetMediaPlayer();
+}
+
} // namespace Dali;
*/
Dali::VideoPlayerPlugin::DisplayMode::Type GetDisplayMode() const;
+ /**
+ * @brief Gets the media player of video player
+ * @return player The media player
+ */
+ Any GetMediaPlayer();
+
private: // Not intended for application developers
/**
return Dali::VideoPlayerPlugin::DisplayMode::DST_ROI;
}
+Any VideoPlayer::GetMediaPlayer()
+{
+ if( mPlugin != NULL )
+ {
+ return mPlugin->GetMediaPlayer();
+ }
+ return NULL;
+}
+
} // namespace Adaptor;
} // namespace Internal;
} // namespace Dali;
*/
Dali::VideoPlayerPlugin::DisplayMode::Type GetDisplayMode() const;
+ /**
+ * @brief Dali::VideoPlayer::GetMediaPlayer()
+ */
+ Any GetMediaPlayer();
+
private:
/**