HomeDocs
Skip to main content

dlt.cancelBackExitInterceptor

Introduction

Cancel a previously registered but unused exit interceptor.

Parameters

Object object

PropertyTypeDefaultRequiredDescription
successfunctionNoCallback function that is called when the interceptor is successfully canceled.
failfunctionNoCallback function that is called when the interface call fails.
completefunctionNoCallback function that is called when the interface call is complete, whether it succeeds or fails.

Sample Code

Page({
onLoad() {
dlt.cancelBackExitInterceptor({
success: function (res) {
// Canceled successfully
},
fail: function (res) {
// Failed to cancel
},
complete: function (res) {},
});
},
});
Privacy agreementDeveloper agreementcontact us: developer_service.mi@transsion.com © 2024 MiniApp. All Rights Reserved.