initCallbackEvent method
void
initCallbackEvent(
- BootpayDefaultCallback? onCancel,
- BootpayDefaultCallback? onError,
- BootpayCloseCallback? onClose,
- BootpayDefaultCallback? onIssued,
- BootpayConfirmCallback? onConfirm,
- BootpayAsyncConfirmCallback? onConfirmAsync,
- BootpayDefaultCallback? onDone,
- BootpayNextJobCallback? onNextJob,
- BootpayCloseCallback? onDebounceClose,
Implementation
void initCallbackEvent(
BootpayDefaultCallback? onCancel,
BootpayDefaultCallback? onError,
BootpayCloseCallback? onClose,
BootpayDefaultCallback? onIssued,
BootpayConfirmCallback? onConfirm,
BootpayAsyncConfirmCallback? onConfirmAsync,
BootpayDefaultCallback? onDone,
BootpayNextJobCallback? onNextJob,
BootpayCloseCallback? onDebounceClose
) {
onCallbackCancel = onCancel;
onCallbackError = onError;
onCallbackClose = onClose;
onCallbackIssued = onIssued;
onCallbackConfirm = onConfirm;
onCallbackConfirmAsync = onConfirmAsync;
onCallbackDone = onDone;
onCallbackNextJob = onNextJob;
onCallbackDebounceClose = onDebounceClose;
webViewProvider?.initWebViewCallback(
onWebViewCancel,
onWebViewError,
onWebViewClose,
onWebViewIssued,
onWebViewConfirm,
onWebViewDone,
onWebViewRedirect,
onWebViewEasySuccess,
onWebViewEasyError
);
}