[4.0] Added APIs for setting display mode in video-player
[platform/core/uifw/dali-adaptor.git] / adaptors / devel-api / adaptor-framework / video-player.h
old mode 100644 (file)
new mode 100755 (executable)
index c630c72..791c2e6
@@ -247,6 +247,30 @@ public:
    */
   bool IsVideoTextureSupported();
 
+  /**
+   * @brief Sets codec type
+   * @param[in] type The VideoCodec::Type
+   */
+  void SetCodecType( Dali::VideoPlayerPlugin::CodecType type );
+
+  /**
+   * @brief Gets codec type
+   * @return VideoCodec::Type
+   */
+  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;
+
 private: // Not intended for application developers
 
   /**