1 #ifndef DALI_TOOLKIT_VIDEO_VIEW_DEVEL_H
\r
2 #define DALI_TOOLKIT_VIDEO_VIEW_DEVEL_H
\r
5 * Copyright (c) 2020 Samsung Electronics Co., Ltd.
\r
7 * Licensed under the Apache License, Version 2.0 (the "License");
\r
8 * you may not use this file except in compliance with the License.
\r
9 * You may obtain a copy of the License at
\r
11 * http://www.apache.org/licenses/LICENSE-2.0
\r
13 * Unless required by applicable law or agreed to in writing, software
\r
14 * distributed under the License is distributed on an "AS IS" BASIS,
\r
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
16 * See the License for the specific language governing permissions and
\r
17 * limitations under the License.
\r
21 // EXTERNAL INCLUDES
\r
22 #include <dali/devel-api/adaptor-framework/video-sync-mode.h>
\r
24 // INTERNAL INCLUDES
\r
25 #include <dali/public-api/animation/animation.h>
\r
26 #include <dali-toolkit/public-api/controls/video-view/video-view.h>
\r
27 #include <dali/public-api/object/any.h>
\r
35 namespace DevelVideoView
\r
39 * @brief Returns the internal media player.
\r
40 * @param[in] videoView The current VideoView
\r
41 * @return The internal media player of current VideoView
\r
43 DALI_TOOLKIT_API Any GetMediaPlayer( VideoView videoView );
\r
46 * @brief Creates an initialized VideoView with synchronization mode.
\r
48 * The syncMode is for synchronization between UI(transparent hole) and underlay video.
\r
50 * @param[in] syncMode The synchronization mode between the UI (transparent hole) and VideoPlayer
\r
51 * @return A handle to a newly allocated Dali VideoView
\r
53 DALI_TOOLKIT_API VideoView New( VideoSyncMode syncMode );
\r
56 * @brief Play the resize or move animation with synchronization between UI(transparent hole) and video player
\r
58 * The resize and move animation's play() function is called.
\r
59 * If the animation is played, UI and video player will work synchronization.
\r
61 * @param[in] videoView The current VideoView
\r
62 * @param[in] animation The animation for video view's resize or move.
\r
64 DALI_TOOLKIT_API void PlayAnimation( VideoView videoView, Animation animation );
\r
66 } // namespace DevelVideoView
\r
68 } // namespace Toolkit
\r
72 #endif // DALI_TOOLKIT_VIDEO_VIEW_DEVEL_H
\r