Udostępnij za pośrednictwem


WebView.ClearFormData Method

Definition

Removes the autocomplete popup from the currently focused form field, if present.

[Android.Runtime.Register("clearFormData", "()V", "GetClearFormDataHandler")]
public virtual void ClearFormData ();
[<Android.Runtime.Register("clearFormData", "()V", "GetClearFormDataHandler")>]
abstract member ClearFormData : unit -> unit
override this.ClearFormData : unit -> unit
Attributes

Remarks

Removes the autocomplete popup from the currently focused form field, if present. Note this only affects the display of the autocomplete popup, it does not remove any saved form data from this WebView's store. To do that, use WebViewDatabase#clearFormData.

Java documentation for android.webkit.WebView.clearFormData().

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