Data Structures | Public Member Functions | Static Public Member Functions
eo_cxx::efl::player Struct Reference

Data Structures

struct  address_const_of
 
struct  address_of
 

Public Member Functions

bool play_get () const
 
More...
 
void play_set (bool play_) const
 
More...
 
double position_get () const
 
More...
 
void position_set (double second_) const
 
More...
 
double progress_get () const
 
More...
 
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
 
 operator::efl::player () const
 
 operator::efl::player & ()
 
 operator::efl::player const & () const
 

Static Public Member Functions

static Eo_Class const * _eo_class ()
 

Member Function Documentation

bool eo_cxx::efl::player::play_get ( ) const
inline

Get play/pause state of the media file.

Parameters
playtrue if playing, false otherwise.
void eo_cxx::efl::player::play_set ( bool  play_) const
inline

Set play/pause state of the media file.

  • This functions sets the currently playing status of the video. Using this
  • function to play or pause the video doesn't alter it's current position.
Parameters
playtrue if playing, false otherwise.
double eo_cxx::efl::player::position_get ( ) const
inline

Get the position in the media file.

  • Parameters
    objThe emotion object from which the position will be retrieved.
  • Returns
    The position of the media file.
  • The position is returned as the number of seconds since the beginning of the
  • media file.
Parameters
secondThe position (in seconds).
void eo_cxx::efl::player::position_set ( double  second_) const
inline

Set the position in the media file.

  • Parameters
    objThe emotion object whose position will be changed.
  • Parameters
    secThe position(in seconds) to which the media file will be set.
  • This functions sets the current position of the media file to sec, this
  • only works on seekable streams. Setting the position doesn't change the
  • playing state of the media file.
Parameters
secondThe position (in seconds).
double eo_cxx::efl::player::progress_get ( ) const
inline

Get how much of the file has been played.

  • This function gets the progress in playing the file, the return value is in
  • the [0, 1] range.
Parameters
progressThe progress within the [0, 1] range.
double eo_cxx::efl::player::play_speed_get ( ) const
inline
Parameters
speedThe play speed in the [0, infinity) range.
void eo_cxx::efl::player::play_speed_set ( double  speed_) const
inline
Parameters
speedThe play speed in the [0, infinity) range.
double eo_cxx::efl::player::audio_volume_get ( ) const
inline
Parameters
volumeThe volume level
void eo_cxx::efl::player::audio_volume_set ( double  volume_) const
inline
Parameters
volumeThe volume level
bool eo_cxx::efl::player::audio_mute_get ( ) const
inline
Parameters
muteThe mute state. True or false.
void eo_cxx::efl::player::audio_mute_set ( bool  mute_) const
inline
Parameters
muteThe mute state. True or false.