Tizen Native API
5.0
|
VideoView is a control for video playback and display. More...
Classes | |
struct | DisplayMode |
The values of this enum determine how the video should be display mode to the view. More... | |
struct | Property |
Enumeration for the instance of properties belonging to the VideoView class. More... | |
Public Types | |
enum | PropertyRange |
Enumeration for the start and end property ranges for this control. More... | |
typedef Signal< void(VideoView &) > | VideoViewSignalType |
Video playback finished signal type @ SINCE_1_1.38. | |
Public Member Functions | |
VideoView () | |
Creates an uninitialized VideoView. | |
~VideoView () | |
Destructor. | |
VideoView (const VideoView &videoView) | |
Copy constructor. | |
VideoView & | operator= (const VideoView &videoView) |
Assignment operator. | |
void | Play () |
Starts the video playback. | |
void | Pause () |
Pauses the video playback. | |
void | Stop () |
Stops the video playback. | |
void | Forward (int millisecond) |
Seeks forward by the specified number of milliseconds. | |
void | Backward (int millisecond) |
Seeks backward by the specified number of milliseconds. | |
VideoViewSignalType & | FinishedSignal () |
Connects to this signal to be notified when a video playback is finished. | |
Static Public Member Functions | |
static VideoView | New () |
Creates an initialized VideoView. | |
static VideoView | New (const std::string &url) |
Creates an initialized VideoView. If the string is empty, VideoView will not display anything. | |
static VideoView | New (bool swCodec) |
Creates an initialized VideoView. | |
static VideoView | New (const std::string &url, bool swCodec) |
Creates an initialized VideoView. If the string is empty, VideoView will not display anything. | |
static VideoView | DownCast (BaseHandle handle) |
Downcasts a handle to VideoView handle. |
VideoView is a control for video playback and display.
For working VideoView, a video plugin for a platform should be provided.
Signals | Signal Name | Method | |---------------|-------------------------| | finished | FinishedSignal() |
Actions | Action Name | Attributes | Description | |-----------------|----------------------------------------------------|---------------------------------------------------------| | videoPlay | Doesn't have attributes | Plays video. See DoAction() | | videoPause | Doesn't have attributes | Pauses video. See DoAction() | | videoStop | Doesn't have attributes | Stops video. See DoAction() | | videoForward | The position ( millisecond ) for forward playback | Sets forward position for playback. See DoAction() | | videoBackward | The position ( millisecond ) for backward playback | Sets backward position for playback. See DoAction()|
Enumeration for the start and end property ranges for this control.
Reimplemented from Dali::Toolkit::Control.
Creates an uninitialized VideoView.
Destructor.
This is non-virtual since derived Handel types must not contain data or virtual methods.
Dali::Toolkit::VideoView::VideoView | ( | const VideoView & | videoView | ) |
void Dali::Toolkit::VideoView::Backward | ( | int | millisecond | ) |
Seeks backward by the specified number of milliseconds.
[in] | millisecond | The position for backward playback |
static VideoView Dali::Toolkit::VideoView::DownCast | ( | BaseHandle | handle | ) | [static] |
Downcasts a handle to VideoView handle.
If handle points to a VideoView, the downcast produces valid handle. If not, the returned handle is left uninitialized.
[in] | handle | Handle to an object |
Reimplemented from Dali::Toolkit::Control.
Connects to this signal to be notified when a video playback is finished.
void Dali::Toolkit::VideoView::Forward | ( | int | millisecond | ) |
Seeks forward by the specified number of milliseconds.
[in] | millisecond | The position for forward playback |
static VideoView Dali::Toolkit::VideoView::New | ( | ) | [static] |
Creates an initialized VideoView.
Reimplemented from Dali::Toolkit::Control.
static VideoView Dali::Toolkit::VideoView::New | ( | const std::string & | url | ) | [static] |
Creates an initialized VideoView. If the string is empty, VideoView will not display anything.
[in] | url | The url of the video resource to display |
static VideoView Dali::Toolkit::VideoView::New | ( | bool | swCodec | ) | [static] |
static VideoView Dali::Toolkit::VideoView::New | ( | const std::string & | url, |
bool | swCodec | ||
) | [static] |
Creates an initialized VideoView. If the string is empty, VideoView will not display anything.
[in] | url | The url of the video resource to display |
[in] | swCodec | Video rendering by H/W codec if false |
void Dali::Toolkit::VideoView::Pause | ( | ) |
Pauses the video playback.
void Dali::Toolkit::VideoView::Play | ( | ) |
Starts the video playback.
void Dali::Toolkit::VideoView::Stop | ( | ) |
Stops the video playback.