2017-08-07 19:48:31 -07:00
|
|
|
class Efl.Ui.Video (Efl.Ui.Layout, Efl.File,
|
2016-06-08 02:16:11 -07:00
|
|
|
Efl.Player, Elm.Interface.Atspi_Widget_Action)
|
2014-03-27 01:21:26 -07:00
|
|
|
{
|
2016-11-17 03:52:44 -08:00
|
|
|
[[Efl UI video class]]
|
2016-05-12 09:06:04 -07:00
|
|
|
legacy_prefix: elm_video;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
|
|
|
@property remember_position {
|
2014-03-27 01:21:26 -07:00
|
|
|
set {
|
2015-07-02 06:37:55 -07:00
|
|
|
[[Set whether the object can remember the last played position.
|
2014-03-27 01:21:26 -07:00
|
|
|
|
2015-07-02 06:37:55 -07:00
|
|
|
Note: This API only serves as indication. System support is
|
|
|
|
required.
|
|
|
|
]]
|
2014-03-27 01:21:26 -07:00
|
|
|
}
|
|
|
|
get {
|
2015-07-02 06:37:55 -07:00
|
|
|
[[Set whether the object can remember the last played position.
|
2014-03-27 01:21:26 -07:00
|
|
|
|
2015-07-02 06:37:55 -07:00
|
|
|
Note: This API only serves as indication. System support is
|
|
|
|
required.
|
|
|
|
]]
|
2014-03-27 01:21:26 -07:00
|
|
|
}
|
|
|
|
values {
|
2016-11-17 03:52:44 -08:00
|
|
|
remember: bool; [[$true when the object can remember the last position, $false otherwise]]
|
2014-03-27 01:21:26 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property is_playing {
|
2014-03-27 01:21:26 -07:00
|
|
|
get {
|
2015-07-02 06:37:55 -07:00
|
|
|
[[Is the video actually playing.
|
2014-03-27 01:21:26 -07:00
|
|
|
|
2015-07-02 06:37:55 -07:00
|
|
|
You should consider watching event on the object instead of
|
|
|
|
polling the object state.
|
|
|
|
]]
|
2016-11-17 03:52:44 -08:00
|
|
|
return: bool; [[$true if the video is playing, $false otherwise]]
|
2014-03-27 01:21:26 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property emotion {
|
2014-03-27 01:21:26 -07:00
|
|
|
get {
|
2015-07-02 06:37:55 -07:00
|
|
|
[[Get the underlying Emotion object.]]
|
2016-11-17 03:52:44 -08:00
|
|
|
return: Efl.Canvas.Object; [[The underlying Emotion object.]]
|
2014-03-27 01:21:26 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property title {
|
2014-03-27 01:21:26 -07:00
|
|
|
get {
|
2015-07-02 06:37:55 -07:00
|
|
|
[[Get the title (for instance DVD title) from this emotion object.
|
2014-03-27 01:21:26 -07:00
|
|
|
|
2015-07-02 06:37:55 -07:00
|
|
|
This function is only useful when playing a DVD.
|
2014-03-27 01:21:26 -07:00
|
|
|
|
2015-07-02 06:37:55 -07:00
|
|
|
Note: Don't change or free the string returned by this function.
|
|
|
|
]]
|
2016-05-31 08:02:26 -07:00
|
|
|
return: string; [[A string containing the title.]]
|
2014-03-27 01:21:26 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
play {
|
2015-07-02 06:37:55 -07:00
|
|
|
[[Start playing a video.]]
|
2014-03-27 01:21:26 -07:00
|
|
|
}
|
|
|
|
pause {
|
2015-07-02 06:37:55 -07:00
|
|
|
[[Pause a video.]]
|
2014-03-27 01:21:26 -07:00
|
|
|
}
|
|
|
|
stop {
|
2015-07-02 06:37:55 -07:00
|
|
|
[[Stop a video.]]
|
2014-03-27 01:21:26 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2014-06-20 02:47:39 -07:00
|
|
|
class.constructor;
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
2016-12-27 10:15:41 -08:00
|
|
|
Efl.File.file { get; set; }
|
2017-01-01 23:48:17 -08:00
|
|
|
Elm.Widget.widget_event;
|
2016-12-27 10:15:41 -08:00
|
|
|
Elm.Interface.Atspi_Widget_Action.elm_actions { get; }
|
2014-03-27 01:21:26 -07:00
|
|
|
}
|
|
|
|
}
|