firebase:: storage:: Listener
This is an abstract class.
#include <listener.h>
Base class used to receive pause and progress events on a running read or write operation.
Summary
Subclasses of this listener class can be used to receive events about data transfer progress a location. Attach the listener to a location using StorageReference::GetBytes(), StorageReference::GetFile(), StorageReference::PutBytes(), and StorageReference::PutFile(); then OnPaused() will be called whenever the Read or Write operation is paused, and OnProgress() will be called periodically as the transfer makes progress.
Constructors and Destructors |
|
---|---|
Listener()
Constructor.
|
|
~Listener()
Virtual destructor.
|
Public functions |
|
---|---|
OnPaused(Controller *controller)=0
|
virtual void
The operation was paused.
|
OnProgress(Controller *controller)=0
|
virtual void
There has been progress event.
|
Public functions
Listener
Listener()
Constructor.
OnPaused
virtual void OnPaused( Controller *controller )=0
The operation was paused.
Details | |||
---|---|---|---|
Parameters |
|
OnProgress
virtual void OnProgress( Controller *controller )=0
There has been progress event.
Details | |||
---|---|---|---|
Parameters |
|
~Listener
virtual ~Listener()
Virtual destructor.