Searched refs:cancelCallback (Results 1 – 13 of 13) sorted by relevance
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/dialog/ |
H A D | js_custom_dialog_controller.cpp | 96 JSRef<JSVal> cancelCallback = constructorArg->GetProperty("cancel"); in ConstructorCallback() local 97 if (!cancelCallback->IsUndefined() && cancelCallback->IsFunction()) { in ConstructorCallback() 99 …ancelFunction = AceType::MakeRefPtr<JsWeakFunction>(ownerObj, JSRef<JSFunc>::Cast(cancelCallback)); in ConstructorCallback() 276 …auto cancelTask = ([cancelCallback = jsCancelFunction_, node = frameNode, context = pipelineContex… in JsOpenDialog() 277 if (cancelCallback) { in JsOpenDialog() 280 cancelCallback->Execute(); in JsOpenDialog() 321 auto cancelTask = ([cancelCallback = jsCancelFunction_, node = frameNode]() { in JsCloseDialog() 322 if (cancelCallback) { in JsCloseDialog() 327 cancelCallback->Execute(); in JsCloseDialog()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/ |
H A D | cj_customdialog_controller_ffi.cpp | 142 …auto cancelTask = ([cancelCallback = cancelFunction_, node = frameNode, context = pipelineContext]… in OpenDialog() 143 if (cancelCallback) { in OpenDialog() 145 cancelCallback(); in OpenDialog() 180 auto cancelTask = ([cancelCallback = cancelFunction_, node = frameNode]() { in CloseDialog() 181 if (cancelCallback) { in CloseDialog() 185 cancelCallback(); in CloseDialog()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/network/ |
H A D | download_manager.h | 31 std::function<void(std::string, bool, int32_t)> cancelCallback; member
|
H A D | download_manager_impl.cpp | 198 … task->OnCancel([this, cancelCallback = downloadCallback.cancelCallback, instanceId, url, nodeId]( in DownloadAsync() 202 cancelCallback(errorMsg, true, instanceId); in DownloadAsync()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-wantAgent.md | 450 let cancelCallback = (err: BusinessError) => { 451 console.info('==========================>cancelCallback=======================>'); 453 wantAgent.cancel(wantAgentObj, cancelCallback); 547 console.info('==========================>cancelCallback=======================>');
|
H A D | js-apis-app-ability-wantAgent.md | 626 let cancelCallback = (err: BusinessError, data: void) => { 634 wantAgent.cancel(wantAgentData, cancelCallback);
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-notification-kit/ |
H A D | js-apis-notification.md | 129 let cancelCallback = (err: Base.BusinessError) => { 136 Notification.cancel(0, "label", cancelCallback); 197 let cancelCallback = (err: Base.BusinessError) => { 204 Notification.cancel(0, cancelCallback);
|
H A D | js-apis-notificationManager.md | 181 let cancelCallback = (err: BusinessError): void => { 188 notificationManager.cancel(0, "label", cancelCallback); 269 let cancelCallback = (err: BusinessError): void => { 276 notificationManager.cancel(0, cancelCallback);
|
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-wantAgent.md | 450 let cancelCallback = (err: BusinessError) => { 451 console.info('==========================>cancelCallback=======================>'); 453 wantAgent.cancel(wantAgentObj, cancelCallback); 547 console.info('==========================>cancelCallback=======================>');
|
H A D | js-apis-app-ability-wantAgent.md | 627 let cancelCallback = (err: BusinessError, data: void) => { 635 wantAgent.cancel(wantAgentData, cancelCallback);
|
/ohos5.0/docs/en/application-dev/reference/apis-notification-kit/ |
H A D | js-apis-notification.md | 129 let cancelCallback = (err: Base.BusinessError) => { 136 Notification.cancel(0, "label", cancelCallback); 197 let cancelCallback = (err: Base.BusinessError) => { 204 Notification.cancel(0, cancelCallback);
|
H A D | js-apis-notificationManager.md | 181 let cancelCallback = (err: BusinessError): void => { 188 notificationManager.cancel(0, "label", cancelCallback); 269 let cancelCallback = (err: BusinessError): void => { 276 notificationManager.cancel(0, cancelCallback);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/image_provider/ |
H A D | image_loading_context.cpp | 251 downloadCallback.cancelCallback = downloadCallback.failCallback; in PerformDownload()
|