-#ifndef __DALI_VIDEO_PLAYER_H__
-#define __DALI_VIDEO_PLAYER_H__
+#ifndef DALI_VIDEO_PLAYER_H
+#define DALI_VIDEO_PLAYER_H
/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2019 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
//INTERNAL INCLUDES
#include <dali/devel-api/adaptor-framework/video-player-plugin.h>
+#include <dali/public-api/dali-adaptor-common.h>
namespace Dali
{
* @brief VideoPlayer class is used for video playback.
* @SINCE_1_1.38
*/
-class DALI_IMPORT_API VideoPlayer: public BaseHandle
+class DALI_ADAPTOR_API VideoPlayer: public BaseHandle
{
public:
*/
Dali::VideoPlayerPlugin::CodecType GetCodecType() const;
+ /**
+ * @brief Sets the display mode for playback.
+ * @param[in] mode of playback
+ */
+ void SetDisplayMode( Dali::VideoPlayerPlugin::DisplayMode::Type mode );
+
+ /**
+ * @brief Gets display mode
+ * @return DisplayMode
+ */
+ 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
/**
} // namespace Dali;
-#endif
-
+#endif // DALI_VIDEO_PLAYER_H