initWebViewCallback method
void
initWebViewCallback(
- WebViewCallback onWebViewCancel,
- WebViewCallback onWebViewError,
- WebViewCallback onWebViewClose,
- WebViewCallback onWebViewIssued,
- WebViewCallback onWebViewConfirm,
- WebViewCallback onWebViewDone,
- WebViewCallback onWebViewRedirect,
- WebViewCallback onWebViewEasySuccess,
- WebViewCallback onWebViewEasyError,
Implementation
void initWebViewCallback(
WebViewCallback onWebViewCancel,
WebViewCallback onWebViewError,
WebViewCallback onWebViewClose,
WebViewCallback onWebViewIssued,
WebViewCallback onWebViewConfirm,
WebViewCallback onWebViewDone,
WebViewCallback onWebViewRedirect,
WebViewCallback onWebViewEasySuccess,
WebViewCallback onWebViewEasyError,
) {
if(webView != null) {
webView?.onWebViewCancel = onWebViewCancel;
webView?.onWebViewError = onWebViewError;
webView?.onWebViewClose = onWebViewClose;
webView?.onWebViewIssued = onWebViewIssued;
webView?.onWebViewConfirm = onWebViewConfirm;
webView?.onWebViewDone = onWebViewDone;
webView?.onWebViewRedirect = onWebViewRedirect;
webView?.onWebViewEasySuccess = onWebViewEasySuccess;
webView?.onWebViewEasyError = onWebViewEasyError;
}
}