Pepper_47_C++_interfaces
Public Member Functions | Protected Member Functions | List of all members
pp::BufferingListener_Samsung Class Reference

#include <buffering_listener_samsung.h>

Collaboration diagram for pp::BufferingListener_Samsung:
Collaboration graph

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

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.

Definition at line 31 of file buffering_listener_samsung.h.

Constructor & Destructor Documentation

pp::BufferingListener_Samsung::~BufferingListener_Samsung ( )
virtual

Definition at line 58 of file buffering_listener_samsung.cc.

pp::BufferingListener_Samsung::BufferingListener_Samsung ( )
protected

The default constructor which creates listener not attached to the player

Definition at line 71 of file buffering_listener_samsung.cc.

pp::BufferingListener_Samsung::BufferingListener_Samsung ( MediaPlayer_Samsung player)
explicitprotected

Constructor which creates listener attached to the |player|.

Definition at line 74 of file buffering_listener_samsung.cc.

References AttachTo().

Member Function Documentation

void pp::BufferingListener_Samsung::AttachTo ( MediaPlayer_Samsung player)
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().

void pp::BufferingListener_Samsung::OnBufferingComplete ( )
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.

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.

Definition at line 65 of file buffering_listener_samsung.cc.

void pp::BufferingListener_Samsung::OnBufferingStart ( )
virtual

Initial media buffering has been started by the player.

Definition at line 62 of file buffering_listener_samsung.cc.


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