Home
last modified time | relevance | path

Searched refs:ErrorCallback (Results 1 – 25 of 54) sorted by relevance

123

/foundation/communication/netstack/interfaces/kits/js/
D@ohos.net.socket.d.ts16 import {AsyncCallback, Callback, ErrorCallback} from "./basic";
199 on(type: 'error', callback: ErrorCallback): void;
204 off(type: 'error', callback?: ErrorCallback): void;
358 on(type: 'error', callback: ErrorCallback): void;
363 off(type: 'error', callback?: ErrorCallback): void;
448 on(type: 'error', callback: ErrorCallback): void;
455 off(type: 'error', callback?: ErrorCallback): void;
D@ohos.net.webSocket.d.ts16 import {AsyncCallback, ErrorCallback} from "./basic";
117 on(type: 'error', callback: ErrorCallback): void;
122 off(type: 'error', callback?: ErrorCallback): void;
/foundation/multimedia/player_framework/frameworks/js/player/
Daudio_player_napi.cpp219 …player->ErrorCallback(MSERR_EXT_NO_MEMORY, "player is released(null), please create player again"); in SetSrc()
225 …player->ErrorCallback(MSERR_EXT_INVALID_VAL, "napi_typeof failed, please check the input parameter… in SetSrc()
239 …player->ErrorCallback(MSERR_EXT_INVALID_VAL, "invalid parameters, please check the input parameter… in SetSrc()
250 …player->ErrorCallback(MSErrorToExtError(static_cast<MediaServiceErrCode>(ret)), "failed to SetSour… in SetSrc()
256 …player->ErrorCallback(MSErrorToExtError(static_cast<MediaServiceErrCode>(ret)), "failed to Prepare… in SetSrc()
305 …player->ErrorCallback(MSERR_EXT_NO_MEMORY, "player is released(null), please create player again"); in SetFdSrc()
311 …player->ErrorCallback(MSERR_EXT_INVALID_VAL, "napi_typeof failed, please check the input parameter… in SetFdSrc()
317 …player->ErrorCallback(MSERR_EXT_INVALID_VAL, "invalid parameters, please check the input parameter… in SetFdSrc()
323 …player->ErrorCallback(MSErrorToExtError(static_cast<MediaServiceErrCode>(ret)), "failed to SetSour… in SetFdSrc()
329 …player->ErrorCallback(MSErrorToExtError(static_cast<MediaServiceErrCode>(ret)), "failed to Prepare… in SetFdSrc()
[all …]
Dvideo_player_napi.cpp240 …jsPlayer->ErrorCallback(MSERR_EXT_NO_MEMORY, "player is released(null), please create player again… in SetUrl()
245 …jsPlayer->ErrorCallback(MSERR_EXT_INVALID_VAL, "napi_typeof failed, please check the input paramet… in SetUrl()
259 …jsPlayer->ErrorCallback(MSERR_EXT_INVALID_VAL, "invalid parameters, please check the input paramet… in SetUrl()
270 …jsPlayer->ErrorCallback(MSErrorToExtError(static_cast<MediaServiceErrCode>(ret)), "failed to set s… in SetUrl()
325 …jsPlayer->ErrorCallback(MSERR_EXT_NO_MEMORY, "player is released(null), please create player again… in SetFdSrc()
331 …jsPlayer->ErrorCallback(MSERR_EXT_INVALID_VAL, "napi_typeof failed, please check the input paramet… in SetFdSrc()
337 …jsPlayer->ErrorCallback(MSERR_EXT_INVALID_VAL, "invalid parameters, please check the input paramet… in SetFdSrc()
345 …jsPlayer->ErrorCallback(MSErrorToExtError(static_cast<MediaServiceErrCode>(ret)), "failed to SetSo… in SetFdSrc()
1025 …jsPlayer->ErrorCallback(MSERR_EXT_INVALID_VAL, "napi_typeof failed, please check the input paramet… in On()
1060 …jsPlayer->ErrorCallback(MSERR_EXT_NO_MEMORY, "player is released(null), please create player again… in SetLoop()
[all …]
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/input/
Dcamera_input.h31 class ErrorCallback {
33 ErrorCallback() = default;
34 virtual ~ErrorCallback() = default;
229 void SetErrorCallback(std::shared_ptr<ErrorCallback> errorCallback);
263 std::shared_ptr<ErrorCallback> GetErrorCallback();
322 std::shared_ptr<ErrorCallback> errorCallback_;
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/web/cross_platform/
Dweb_resource.h31 using ErrorCallback = std::function<void(const std::string&, const std::string&)>;
34 …WebResource(const std::string& type, const WeakPtr<PipelineBase>& context, ErrorCallback&& onError) in WebResource()
68 ErrorCallback onError_;
/foundation/arkui/ace_engine/frameworks/core/components/web/resource/
Dweb_resource.h41 using ErrorCallback = std::function<void(const std::string&, const std::string&)>;
44 …WebResource(const std::string& type, const WeakPtr<PipelineBase>& context, ErrorCallback&& onError) in WebResource()
78 ErrorCallback onError_;
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/resource/
Dxcomponent_resource.h40 using ErrorCallback = std::function<void(const std::string&, const std::string&)>;
43 const WeakPtr<PipelineContext>& context, ErrorCallback&& onError) in XComponentResource()
77 ErrorCallback onError_;
Dnative_texture.h28 NativeTexture(const WeakPtr<PipelineContext>& context, ErrorCallback&& onError) in NativeTexture()
Dxcomponent_delegate.h44 const WeakPtr<PipelineContext>& context, ErrorCallback&& onError, const std::string& type) in XComponentDelegate()
/foundation/arkui/ace_engine/frameworks/core/components/video/resource/
Dresource.h41 using ErrorCallback = std::function<void(const std::string&, const std::string&)>;
44 Resource(const std::string& type, const WeakPtr<PipelineBase>& context, ErrorCallback&& onError) in Resource()
80 ErrorCallback onError_;
Dtexture.h30 Texture(const WeakPtr<PipelineBase>& context, ErrorCallback&& onError) in Texture()
Dplayer.h40 …t textureId, const std::string& src, const WeakPtr<PipelineBase>& context, ErrorCallback&& onError) in Player()
43 Player(const WeakPtr<PipelineBase>& context, ErrorCallback&& onError) in Player()
Dext_surface.h31 ExtSurface(const WeakPtr<PipelineBase>& context, ErrorCallback&& onError) in ExtSurface()
/foundation/arkui/ace_engine/frameworks/core/components/rich_text/resource/
Drich_text_resource.h42 using ErrorCallback = std::function<void(const std::string&, const std::string&)>;
46 const WeakPtr<PipelineContext>& context, ErrorCallback&& onError) in RichTextResource()
85 ErrorCallback onError_;
/foundation/multimedia/camera_framework/interfaces/kits/js/camera_napi/
D@ohos.multimedia.camera.d.ts16 import { ErrorCallback, AsyncCallback } from './@ohos.base';
955 on(type: 'error', camera: CameraDevice, callback: ErrorCallback<BusinessError>): void;
1581 on(type: 'error', callback: ErrorCallback<BusinessError>): void;
1794 on(type: 'error', callback: ErrorCallback<BusinessError>): void;
2066 on(type: 'error', callback: ErrorCallback<BusinessError>): void;
2236 on(type: 'error', callback: ErrorCallback<BusinessError>): void;
2392 on(type: 'error', callback: ErrorCallback<BusinessError>): void;
/foundation/arkui/ace_engine/frameworks/core/components/rich_text/
Drich_text_component.h35 using ErrorCallback = std::function<void(const std::string&, const std::string&)>;
88 ErrorCallback errorCallback_ = nullptr;
/foundation/multimedia/player_framework/interfaces/kits/js/
D@ohos.multimedia.media.d.ts16 import { ErrorCallback, AsyncCallback, Callback } from './@ohos.base';
778 on(type: 'error', callback: ErrorCallback): void;
1175 on(type: 'error', callback: ErrorCallback): void;
1448 on(type: 'error', callback: ErrorCallback): void;
1759 on(type: 'error', callback: ErrorCallback): void;
1970 on(type: 'error', callback: ErrorCallback): void;
2420 on(type: 'error', callback: ErrorCallback): void;
/foundation/ability/ability_lite/interfaces/kits/js/declaration/api/
D@ohos.aafwk.d.ts16 import { AsyncCallback, ErrorCallback } from './@ohos.base';
/foundation/communication/netmanager_ext/interfaces/kits/js/
Dbasic.d.ts10 export interface ErrorCallback { interface
/foundation/communication/netmanager_base/interfaces/kits/js/
Dbasic.d.ts5 export interface ErrorCallback<T extends Error = BusinessError> { interface
/foundation/multimedia/player_framework/frameworks/js/recorder/
Daudio_recorder_napi.cpp232 recorderNapi->ErrorCallback(MSERR_EXT_INVALID_VAL); in Prepare()
239 recorderNapi->ErrorCallback(MSERR_EXT_INVALID_VAL); in Prepare()
244 recorderNapi->ErrorCallback(MSERR_EXT_INVALID_VAL); in Prepare()
254 recorderNapi->ErrorCallback(MSERR_EXT_INVALID_VAL); in Prepare()
413 napi->ErrorCallback(MSERR_EXT_UNKNOWN); in Start()
450 napi->ErrorCallback(MSERR_EXT_UNKNOWN); in Pause()
483 napi->ErrorCallback(MSERR_EXT_UNKNOWN); in Resume()
519 napi->ErrorCallback(MSERR_EXT_UNKNOWN); in Stop()
552 napi->ErrorCallback(MSERR_EXT_UNKNOWN); in Reset()
585 napi->ErrorCallback(MSERR_EXT_UNKNOWN); in Release()
[all …]
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/include/callback/
Ddcamera_input_callback.h28 class DCameraInputCallback : public CameraStandard::ErrorCallback {
/foundation/arkui/ace_engine/frameworks/core/components/camera/
Dcamera_element.h48 using ErrorCallback = std::function<void(const std::string&, const std::string&)>;
90 void CreateCamera(int64_t id, ErrorCallback &&errorCallback);
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/
Dxcomponent_component.h85 using ErrorCallback = std::function<void(const std::string&, const std::string&)>; variable
260 ErrorCallback errorCallback_ = nullptr;

123