共用方式為


WebViewDatabase.ClearUsernamePassword Method

Definition

Caution

deprecated

Clears any saved username/password pairs for web forms.

[Android.Runtime.Register("clearUsernamePassword", "()V", "GetClearUsernamePasswordHandler")]
[System.Obsolete("deprecated")]
public abstract void ClearUsernamePassword ();
[<Android.Runtime.Register("clearUsernamePassword", "()V", "GetClearUsernamePasswordHandler")>]
[<System.Obsolete("deprecated")>]
abstract member ClearUsernamePassword : unit -> unit
Attributes

Remarks

Clears any saved username/password pairs for web forms. Note that these are unrelated to HTTP authentication credentials.

This member is deprecated. Saving passwords in WebView will not be supported in future versions.

Java documentation for android.webkit.WebViewDatabase.clearUsernamePassword().

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

See also

  • <xref:Android.Webkit.WebView.SavePassword(System.String%2c+System.String%2c+System.String)>
  • HasUsernamePassword