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-toolkit/public-api/controls/video-view/video-view.h>
\r
26 #include <dali/public-api/animation/animation.h>
\r
27 #include <dali/public-api/object/any.h>
\r
33 namespace DevelVideoView
\r
36 * @brief Returns the internal media player.
\r
37 * @param[in] videoView The current VideoView
\r
38 * @return The internal media player of current VideoView
\r
40 DALI_TOOLKIT_API Any GetMediaPlayer(VideoView videoView);
\r
43 * @brief Creates an initialized VideoView with synchronization mode.
\r
45 * The syncMode is for synchronization between UI(transparent hole) and underlay video.
\r
47 * @param[in] syncMode The synchronization mode between the UI (transparent hole) and VideoPlayer
\r
48 * @return A handle to a newly allocated Dali VideoView
\r
50 DALI_TOOLKIT_API VideoView New(VideoSyncMode syncMode);
\r
53 * @brief Play the resize or move animation with synchronization between UI(transparent hole) and video player
\r
55 * The resize and move animation's play() function is called.
\r
56 * If the animation is played, UI and video player will work synchronization.
\r
58 * @param[in] videoView The current VideoView
\r
59 * @param[in] animation The animation for video view's resize or move.
\r
61 DALI_TOOLKIT_API void PlayAnimation(VideoView videoView, Animation animation);
\r
63 } // namespace DevelVideoView
\r
65 } // namespace Toolkit
\r
69 #endif // DALI_TOOLKIT_VIDEO_VIEW_DEVEL_H
\r