共用方式為


WebView.ClearClientCertPreferences(IRunnable) Method

Definition

Clears the client certificate preferences stored in response to proceeding/cancelling client cert requests.

[Android.Runtime.Register("clearClientCertPreferences", "(Ljava/lang/Runnable;)V", "")]
public static void ClearClientCertPreferences (Java.Lang.IRunnable? onCleared);
[<Android.Runtime.Register("clearClientCertPreferences", "(Ljava/lang/Runnable;)V", "")>]
static member ClearClientCertPreferences : Java.Lang.IRunnable -> unit

Parameters

onCleared
IRunnable

A runnable to be invoked when client certs are cleared. The runnable will be called in UI thread.

Attributes

Remarks

Clears the client certificate preferences stored in response to proceeding/cancelling client cert requests. Note that WebView automatically clears these preferences when the system keychain is updated. The preferences are shared by all the WebViews that are created by the embedder application.

Java documentation for android.webkit.WebView.clearClientCertPreferences(java.lang.Runnable).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to