Efl.Player (interface)


Efl media player interface


length (get)

Get the length of play for the media file.
double efl_player_length_get(const Eo *obj);

mute (get, set)

This property controls the audio mute state.
Eina_Bool efl_player_mute_get(const Eo *obj);
void efl_player_mute_set(Eo *obj, Eina_Bool mute);

play (get, set)

Eina_Bool efl_player_play_get(const Eo *obj);
void efl_player_play_set(Eo *obj, Eina_Bool play);

play_speed (get, set)

Control the play speed of the media file.
double efl_player_play_speed_get(const Eo *obj);
void efl_player_play_speed_set(Eo *obj, double speed);

playable (get)

Whether or not the object data can be played.
Eina_Bool efl_player_playable_get(const Eo *obj);

position (get, set)

double efl_player_position_get(const Eo *obj);
void efl_player_position_set(Eo *obj, double sec);

progress (get)

Get how much of the file has been played.
double efl_player_progress_get(const Eo *obj);

seekable (get)

Get whether the media file is seekable.
Eina_Bool efl_player_seekable_get(const Eo *obj);

volume (get, set)

Control the audio volume.
double efl_player_volume_get(const Eo *obj);
void efl_player_volume_set(Eo *obj, double volume);