Shaka Player Embedded
|
#include <net.h>
Public Member Functions | |
Client () | |
virtual | ~ Client () |
Client (const Client &)=delete | |
Client & | operator= (const Client &)=delete |
Client (Client &&)=delete | |
Client & | operator= (Client &&)=delete |
virtual void | OnProgress (double time, uint64_t bytes, uint64_t remaining)=0 |
Defines an interface for event listeners. These should be called by the plugin as part of the download. These can be called synchronously within the calls, or on any thread while a request is being made.
shaka::SchemePlugin::Client::Client | ( | ) |
|
virtual |
|
delete |
|
delete |
|
pure virtual |
Called periodically to report progress of asynchronous downloads.
time | The time (in milliseconds) this report covers. |
bytes | The number of bytes downloaded in time. |
remaining | The number of bytes remaining; can be 0 for unknown. |