共用方式為


WebViewClient.OnFormResubmission(WebView, Message, Message) Method

Definition

As the host application if the browser should resend data as the requested page was a result of a POST.

[Android.Runtime.Register("onFormResubmission", "(Landroid/webkit/WebView;Landroid/os/Message;Landroid/os/Message;)V", "GetOnFormResubmission_Landroid_webkit_WebView_Landroid_os_Message_Landroid_os_Message_Handler")]
public virtual void OnFormResubmission (Android.Webkit.WebView? view, Android.OS.Message? dontResend, Android.OS.Message? resend);
[<Android.Runtime.Register("onFormResubmission", "(Landroid/webkit/WebView;Landroid/os/Message;Landroid/os/Message;)V", "GetOnFormResubmission_Landroid_webkit_WebView_Landroid_os_Message_Landroid_os_Message_Handler")>]
abstract member OnFormResubmission : Android.Webkit.WebView * Android.OS.Message * Android.OS.Message -> unit
override this.OnFormResubmission : Android.Webkit.WebView * Android.OS.Message * Android.OS.Message -> unit

Parameters

view
WebView

The WebView that is initiating the callback.

dontResend
Message

The message to send if the browser should not resend

resend
Message

The message to send if the browser should resend data

Attributes

Remarks

As the host application if the browser should resend data as the requested page was a result of a POST. The default is to not resend the data.

Java documentation for android.webkit.WebViewClient.onFormResubmission(android.webkit.WebView, android.os.Message, android.os.Message).

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