![]() |
SDK
2.1.4 [async]
CloudBackend Software Development Kit - SDK API for C++
|
#include <ShareDelegate.h>
Classes | |
struct | ErrorInfo |
Public Types | |
using | Success = ShareSuccess |
using | Error = delegate::Error |
Public Member Functions | |
virtual void | onShareSuccess (cbe::ShareId shareId)=0 |
virtual void | onShareError (Error &&error, cbe::util::Context &&context)=0 |
Delegate class for the asynchronous version of methods:
|
pure virtual |
Called if an error is encountered.
|
pure virtual |
Called upon successful share.
shareId | Id of the share. Can be used when unsharing. See Asynchronous version of cbe::Object::unshare() |