Pepper_56_C++_interfaces
Pepper_56_C++_interfaces
 All Classes Namespaces Files Functions Typedefs Enumerations Macros Groups
pp::BufferingListener_Samsung Class Reference

#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|.
 

Detailed Description

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.

Constructor & Destructor Documentation

pp::BufferingListener_Samsung::BufferingListener_Samsung ( )
protected

The default constructor which creates listener not attached to the player

Member Function Documentation

virtual void pp::BufferingListener_Samsung::OnBufferingComplete ( )
virtual

Initial media buffering has been completed by the player, after that event playback might be started.

virtual void pp::BufferingListener_Samsung::OnBufferingProgress ( uint32_t  percent)
virtual

Initial buffering in progress.

Parameters
[in]percentIndicates how much of the initial data has been buffered by the player.

The documentation for this class was generated from the following file: