Home
last modified time | relevance | path

Searched refs:ErrorCallbackListener (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/include/input/
H A Dcamera_input_napi.h36 class ErrorCallbackListener : public ErrorCallback,
38 public std::enable_shared_from_this<ErrorCallbackListener> {
40 ErrorCallbackListener(napi_env env) : ListenerBase(env) {} in ErrorCallbackListener() function
41 ~ErrorCallbackListener() = default;
52 weak_ptr<const ErrorCallbackListener> listener_;
53 …ErrorCallbackInfo(int32_t errorType, int32_t errorMsg, shared_ptr<const ErrorCallbackListener> lis… in ErrorCallbackInfo()
122 shared_ptr<ErrorCallbackListener> errorCallback_;
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/input/
H A Dcamera_input_napi.cpp72 void ErrorCallbackListener::OnErrorCallbackAsync(const int32_t errorType, const int32_t errorMsg) c… in OnErrorCallbackAsync()
108 void ErrorCallbackListener::OnErrorCallback(const int32_t errorType, const int32_t errorMsg) const in OnErrorCallback()
122 void ErrorCallbackListener::OnError(const int32_t errorType, const int32_t errorMsg) const in OnError()
461 errorCallback_ = make_shared<ErrorCallbackListener>(env); in RegisterErrorCallbackListener()