#include <media_control_samsung.h>
|
virtual | ~MediaControl_Samsung () |
| Destructor. More...
|
|
virtual void | Play (PP_MicrosecondsDelta timestamp)=0 |
|
virtual void | Pause ()=0 |
|
virtual void | Ended (PP_MediaError error)=0 |
|
virtual void | Seeking (PP_MicrosecondsDelta seekTime)=0 |
| Method called when played media playback time has been changed explicitly. More...
|
|
virtual void | DurationChange (PP_MicrosecondsDelta duration)=0 |
|
virtual void | TimeUpdate (PP_MicrosecondsDelta media_time)=0 |
|
virtual void | RateChange (float playback_rate)=0 |
| Method called when media playback rate is changed. More...
|
|
Interface allowing application to receive various events regarding media playback stream/clip (i.e. player state changes, duration update, media time position changes, media errors).
Definition at line 19 of file media_control_samsung.h.
virtual pp::MediaControl_Samsung::~MediaControl_Samsung |
( |
| ) |
|
|
virtual |
pp::MediaControl_Samsung::MediaControl_Samsung |
( |
| ) |
|
|
protected |
virtual void pp::MediaControl_Samsung::DurationChange |
( |
PP_MicrosecondsDelta |
duration | ) |
|
|
pure virtual |
Method called when played stream duration has been changed. |duration| is total stream duration in microseconds.
virtual void pp::MediaControl_Samsung::Ended |
( |
PP_MediaError |
error | ) |
|
|
pure virtual |
Signals that end of stream has been reached, |error| argument of PP_MediaError type signals if this is caused by some sort of error.
virtual void pp::MediaControl_Samsung::Pause |
( |
| ) |
|
|
pure virtual |
Method called when controller handling particular stream finish transition to PAUSED state.
virtual void pp::MediaControl_Samsung::Play |
( |
PP_MicrosecondsDelta |
timestamp | ) |
|
|
pure virtual |
Method called when controller handling particular stream/clip finish transition to PLAYING state.
|timestamp| - current time of media
virtual void pp::MediaControl_Samsung::RateChange |
( |
float |
playback_rate | ) |
|
|
pure virtual |
Method called when media playback rate is changed.
virtual void pp::MediaControl_Samsung::Seeking |
( |
PP_MicrosecondsDelta |
seekTime | ) |
|
|
pure virtual |
Method called when played media playback time has been changed explicitly.
virtual void pp::MediaControl_Samsung::TimeUpdate |
( |
PP_MicrosecondsDelta |
media_time | ) |
|
|
pure virtual |
Method called periodically in PLAYING to signal advance of media playback time. Minimal resolution of callback is 0.5s. |media_times| represents current media time in microseconds from beginning of the stream/clip.
The documentation for this class was generated from the following file: