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
25
class
BufferingListener
{
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
:
45
BufferingListener
();
46
};
47
48
}
// namespace NaClPlayer
49
}
// namespace Samsung
50
51
#endif // NACL_PLAYER_BUFFERING_LISTENER_H_
Samsung::NaClPlayer::BufferingListener::OnBufferingStart
virtual void OnBufferingStart()=0
Initial media buffering has been started by the player.
Samsung::NaClPlayer::BufferingListener::OnBufferingComplete
virtual void OnBufferingComplete()=0
Samsung::NaClPlayer::BufferingListener
Definition:
buffering_listener.h:25
Samsung::NaClPlayer::BufferingListener::OnBufferingProgress
virtual void OnBufferingProgress(uint32_t percent)=0
Samsung
Definition:
buffering_listener.h:13
Samsung::NaClPlayer::BufferingListener::BufferingListener
BufferingListener()
include
buffering_listener.h
Generated by
1.8.13