Shaka Player Embedded
Public Member Functions | List of all members
shaka::SchemePlugin::Client Class Referenceabstract

#include <net.h>

Public Member Functions

 Client ()
 
virtual ~ Client ()
 
 Client (const Client &)=delete
 
Clientoperator= (const Client &)=delete
 
 Client (Client &&)=delete
 
Clientoperator= (Client &&)=delete
 
virtual void OnProgress (double time, uint64_t bytes, uint64_t remaining)=0
 

Detailed Description

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.

Definition at line 183 of file net.h.

Constructor & Destructor Documentation

§ Client() [1/3]

shaka::SchemePlugin::Client::Client ( )

§ ~ Client()

virtual shaka::SchemePlugin::Client::~ Client ( )
virtual

§ Client() [2/3]

shaka::SchemePlugin::Client::Client ( const Client )
delete

§ Client() [3/3]

shaka::SchemePlugin::Client::Client ( Client &&  )
delete

Member Function Documentation

§ OnProgress()

virtual void shaka::SchemePlugin::Client::OnProgress ( double  time,
uint64_t  bytes,
uint64_t  remaining 
)
pure virtual

Called periodically to report progress of asynchronous downloads.

Parameters
timeThe time (in milliseconds) this report covers.
bytesThe number of bytes downloaded in time.
remainingThe number of bytes remaining; can be 0 for unknown.

§ operator=() [1/2]

Client& shaka::SchemePlugin::Client::operator= ( const Client )
delete

§ operator=() [2/2]

Client& shaka::SchemePlugin::Client::operator= ( Client &&  )
delete

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