NaCl Player API
NaCl Player API Documentation
Samsung::NaClPlayer::BufferingListener Class Referenceabstract

#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 ()

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), not by the user (see ESDataSource).

Definition at line 25 of file buffering_listener.h.

Constructor & Destructor Documentation

◆ BufferingListener()

Samsung::NaClPlayer::BufferingListener::BufferingListener ( )

The default constructor which creates listener not attached to the player

Member Function Documentation

◆ OnBufferingComplete()

virtual void Samsung::NaClPlayer::BufferingListener::OnBufferingComplete ( )
pure virtual

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

◆ OnBufferingProgress()

virtual void Samsung::NaClPlayer::BufferingListener::OnBufferingProgress ( uint32_t  percent)
pure virtual

Initial buffering in progress.

[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: