/foundation/communication/netstack/interfaces/kits/js/ |
D | @ohos.net.socket.d.ts | 16 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.ts | 16 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/ |
D | audio_player_napi.cpp | 219 …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 …]
|
D | video_player_napi.cpp | 240 …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/ |
D | camera_input.h | 31 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/ |
D | web_resource.h | 31 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/ |
D | web_resource.h | 41 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/ |
D | xcomponent_resource.h | 40 using ErrorCallback = std::function<void(const std::string&, const std::string&)>; 43 const WeakPtr<PipelineContext>& context, ErrorCallback&& onError) in XComponentResource() 77 ErrorCallback onError_;
|
D | native_texture.h | 28 NativeTexture(const WeakPtr<PipelineContext>& context, ErrorCallback&& onError) in NativeTexture()
|
D | xcomponent_delegate.h | 44 const WeakPtr<PipelineContext>& context, ErrorCallback&& onError, const std::string& type) in XComponentDelegate()
|
/foundation/arkui/ace_engine/frameworks/core/components/video/resource/ |
D | resource.h | 41 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_;
|
D | texture.h | 30 Texture(const WeakPtr<PipelineBase>& context, ErrorCallback&& onError) in Texture()
|
D | player.h | 40 …t textureId, const std::string& src, const WeakPtr<PipelineBase>& context, ErrorCallback&& onError) in Player() 43 Player(const WeakPtr<PipelineBase>& context, ErrorCallback&& onError) in Player()
|
D | ext_surface.h | 31 ExtSurface(const WeakPtr<PipelineBase>& context, ErrorCallback&& onError) in ExtSurface()
|
/foundation/arkui/ace_engine/frameworks/core/components/rich_text/resource/ |
D | rich_text_resource.h | 42 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.ts | 16 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/ |
D | rich_text_component.h | 35 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.ts | 16 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.ts | 16 import { AsyncCallback, ErrorCallback } from './@ohos.base';
|
/foundation/communication/netmanager_ext/interfaces/kits/js/ |
D | basic.d.ts | 10 export interface ErrorCallback { interface
|
/foundation/communication/netmanager_base/interfaces/kits/js/ |
D | basic.d.ts | 5 export interface ErrorCallback<T extends Error = BusinessError> { interface
|
/foundation/multimedia/player_framework/frameworks/js/recorder/ |
D | audio_recorder_napi.cpp | 232 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/ |
D | dcamera_input_callback.h | 28 class DCameraInputCallback : public CameraStandard::ErrorCallback {
|
/foundation/arkui/ace_engine/frameworks/core/components/camera/ |
D | camera_element.h | 48 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/ |
D | xcomponent_component.h | 85 using ErrorCallback = std::function<void(const std::string&, const std::string&)>; variable 260 ErrorCallback errorCallback_ = nullptr;
|