Pepper_56_C++_interfaces
Pepper_56_C++_interfaces
|
#include <buffering_listener_samsung.h>
Public Member Functions | |
virtual void | OnBufferingStart () |
Initial media buffering has been started by the player. | |
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|. | |
void | AttachTo (MediaPlayer_Samsung *player) |
Attaches listener to the |player|. | |
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.
|
protected |
The default constructor which creates listener not attached to the player
|
virtual |
Initial media buffering has been completed by the player, after that event playback might be started.
|
virtual |
Initial buffering in progress.
[in] | percent | Indicates how much of the initial data has been buffered by the player. |