hwsecurity-fido / de.cotech.hw.fido / WebViewFidoBridge / createInstanceForWebView /
createInstanceForWebView
open fun createInstanceForWebView(activity: AppCompatActivity, webView: WebView): WebViewFidoBridge
Create an instance of the bridge from an activity and attach it to a WebView.
open fun createInstanceForWebView(activity: AppCompatActivity, webView: WebView, optionsBuilder: FidoDialogOptions.Builder): WebViewFidoBridge
Create an instance of the bridge from an activity and attach it to a WebView. Additional options can be set to configure thedialog using FidoDialogOptions.Builder.
Note: The options timeout and title will be overwritten by the bridge.
open fun createInstanceForWebView(context: Context, fragmentManager: FragmentManager, webView: WebView): WebViewFidoBridge
Create an instance of the bridge from anywhere using a FragmentManager and attach it to a WebView.
open fun createInstanceForWebView(context: Context, fragmentManager: FragmentManager, webView: WebView, optionsBuilder: FidoDialogOptions.Builder): WebViewFidoBridge
Create an instance of the bridge from anywhere using a FragmentManager and attach it to a WebView. Additional options can be set to configure thedialog using FidoDialogOptions.Builder.
Note: The options timeout and title will be overwritten by the bridge.