Pepper_47_C++_interfaces
|
#include <buffering_listener_samsung.h>
Public Member Functions | |
virtual | ~BufferingListener_Samsung () |
virtual void | OnBufferingStart () |
Initial media buffering has been started by the player. More... | |
virtual void | OnBufferingProgress (uint32_t percent) |
virtual void | OnBufferingComplete () |
Protected Member Functions | |
BufferingListener_Samsung () | |
BufferingListener_Samsung (MediaPlayer_Samsung *player) | |
Constructor which creates listener attached to the |player|. More... | |
void | AttachTo (MediaPlayer_Samsung *player) |
Attaches listener to the |player|. More... | |
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_Samsung
), not by the user (see ESDataSource_Samsung
).
All event methods will be called on the same thread. If this class was created on a thread with a running message loop, the event methods will run on this thread. Otherwise, they will run on the main thread.
Definition at line 31 of file buffering_listener_samsung.h.
|
virtual |
Definition at line 58 of file buffering_listener_samsung.cc.
|
protected |
The default constructor which creates listener not attached to the player
Definition at line 71 of file buffering_listener_samsung.cc.
|
explicitprotected |
Constructor which creates listener attached to the |player|.
Definition at line 74 of file buffering_listener_samsung.cc.
References AttachTo().
|
protected |
Attaches listener to the |player|.
Definition at line 80 of file buffering_listener_samsung.cc.
References pp::Resource::pp_resource().
Referenced by BufferingListener_Samsung().
|
virtual |
Initial media buffering has been completed by the player, after that event playback might be started.
Definition at line 68 of file buffering_listener_samsung.cc.
|
virtual |
Initial buffering in progress.
[in] | percent | Indicates how much of the initial data has been buffered by the player. |
Definition at line 65 of file buffering_listener_samsung.cc.
|
virtual |
Initial media buffering has been started by the player.
Definition at line 62 of file buffering_listener_samsung.cc.