1#ifndef TCRSDK_ASYNC_CALLBACK_H_
2#define TCRSDK_ASYNC_CALLBACK_H_
17 virtual void OnSuccess(
const std::string& result) = 0;
This interface defines a general async task callback schema.
Definition async_callback.h:10
virtual void OnSuccess(const std::string &result)=0
This is called when the async task is executed successfully.
virtual void OnFailure(const TcrCode &code, const std::string &msg)=0
This is called when the async task is executed failed.
TcrCode
This interface defines common codes of TcrSdk.
Definition tcr_code.h:9