NaCl Player API
NaCl Player API Documentation
|
#include <buffering_listener.h>
Public Member Functions | |
virtual void | OnBufferingStart ()=0 |
Initial media buffering has been started by the player. | |
virtual void | OnBufferingProgress (uint32_t percent)=0 |
virtual void | OnBufferingComplete ()=0 |
Protected Member Functions | |
BufferingListener () | |
Listener for receiving initial media buffering related events, sent before playback can be started.
Those event can be used by the application to show buffering progress bar to the user.
Those events are sent only when media buffering is managed by the player implementation (see URLDataSource
), not by the user (see ESDataSource
).
Definition at line 25 of file buffering_listener.h.
|
protected |
The default constructor which creates listener not attached to the player
|
pure virtual |
Initial media buffering has been completed by the player, after that event playback might be started.
|
pure virtual |
Initial buffering in progress.
[in] | percent | Indicates how much of the initial data has been buffered by the player. |