Class player. More...
Public Member Functions | |
| player (Eo *eo) | |
| Eo Constructor. More... | |
| player (std::nullptr_t) | |
| nullptr_t Constructor. More... | |
| player (player const &other) | |
| Copy Constructor. | |
| bool | play_get () const |
| void | play_set (bool play_) const |
| double | position_get () const |
| void | position_set (double second_) const |
| double | progress_get () const |
| double | play_speed_get () const |
| void | play_speed_set (double speed_) const |
| double | audio_volume_get () const |
| void | audio_volume_set (double volume_) const |
| bool | audio_mute_get () const |
| void | audio_mute_set (bool mute_) const |
| player (::efl::eo::parent_type _p) | |
| Constructs a new efl::player object. More... | |
Public Member Functions inherited from efl::eo::concrete | |
| concrete (Eo *eo) | |
| Class constructor. More... | |
| concrete () | |
| Default constructor. More... | |
| ~concrete () | |
| Class destructor. | |
| concrete (concrete const &other) | |
| concrete (concrete &&other) | |
| concrete & | operator= (concrete const &other) |
| Assignment operator. | |
| concrete & | operator= (concrete &&other) |
| Eo * | _eo_ptr () const |
| Return a pointer to the EO Object stored in this instance. More... | |
| Eo * | _release () |
| Releases the reference from this concrete object and return the pointer to the EO Object stored in this instance. More... | |
| void | _reset (Eo *_ptr=nullptr) |
| Reset the current pointer to reference a new Eo object. | |
| int | ref_get () const |
| Get the reference count of this object. More... | |
| void | parent_set (concrete parent) |
| Set the parent of this object. More... | |
| eina::optional< concrete > | parent_get () |
| Get the parent of this object. More... | |
| Eo_Dbg_Info | dbg_info_get () |
| Get debug information of this object. More... | |
| operator bool () const | |
Static Public Member Functions | |
| static Eo_Class const * | _eo_class () |
Additional Inherited Members | |
Protected Attributes inherited from efl::eo::concrete | |
| Eo * | _eo_raw |
| The opaque EO Object. | |
Class player.
|
inlineexplicit |
Constructs a new efl::player object.
Constructs a new efl::player object. If you want this object to be a child of another Eo object, use an efl::eo::parent expression, like the example.
Example:
|
inlineexplicit |
Eo Constructor.
Constructs the object from an Eo* pointer stealing its ownership.
| eo | The Eo object pointer. |
|
inlineexplicit |
nullptr_t Constructor.
Constructs an empty (null) object.
| bool efl::player::play_get | ( | ) | const |
Get play/pause state of the media file.
| play | true if playing, false otherwise. |
| void efl::player::play_set | ( | bool | play_ | ) | const |
Set play/pause state of the media file.
| play | true if playing, false otherwise. |
| double efl::player::position_get | ( | ) | const |
Get the position in the media file.
| obj | The emotion object from which the position will be retrieved. |
| second | The position (in seconds). |
| void efl::player::position_set | ( | double | second_ | ) | const |
Set the position in the media file.
| obj | The emotion object whose position will be changed. |
| sec | The position(in seconds) to which the media file will be set. |
sec, this| second | The position (in seconds). |
| double efl::player::progress_get | ( | ) | const |
Get how much of the file has been played.
| progress | The progress within the [0, 1] range. |
| double efl::player::play_speed_get | ( | ) | const |
| speed | The play speed in the [0, infinity) range. |
| void efl::player::play_speed_set | ( | double | speed_ | ) | const |
| speed | The play speed in the [0, infinity) range. |
| double efl::player::audio_volume_get | ( | ) | const |
| volume | The volume level |
| void efl::player::audio_volume_set | ( | double | volume_ | ) | const |
| volume | The volume level |
| bool efl::player::audio_mute_get | ( | ) | const |
| mute | The mute state. True or false. |
| void efl::player::audio_mute_set | ( | bool | mute_ | ) | const |
| mute | The mute state. True or false. |