NaCl Player API
NaCl Player API Documentation
buffering_listener.h
Go to the documentation of this file.
1 // Copyright (c) 2016 Samsung Electronics. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef NACL_PLAYER_BUFFERING_LISTENER_H_
6 #define NACL_PLAYER_BUFFERING_LISTENER_H_
7 
8 #include <cstdint>
9 
13 namespace Samsung {
14 namespace NaClPlayer {
15 
26  public:
27  virtual ~BufferingListener();
28 
30  virtual void OnBufferingStart() = 0;
31 
36  virtual void OnBufferingProgress(uint32_t percent) = 0;
37 
40  virtual void OnBufferingComplete() = 0;
41 
42  protected:
46 };
47 
48 } // namespace NaClPlayer
49 } // namespace Samsung
50 
51 #endif // NACL_PLAYER_BUFFERING_LISTENER_H_
virtual void OnBufferingStart()=0
Initial media buffering has been started by the player.
virtual void OnBufferingProgress(uint32_t percent)=0