Partager via


WebChromeClient.OnReceivedTitle(WebView, String) Method

Definition

Notify the host application of a change in the document title.

[Android.Runtime.Register("onReceivedTitle", "(Landroid/webkit/WebView;Ljava/lang/String;)V", "GetOnReceivedTitle_Landroid_webkit_WebView_Ljava_lang_String_Handler")]
public virtual void OnReceivedTitle (Android.Webkit.WebView? view, string? title);
[<Android.Runtime.Register("onReceivedTitle", "(Landroid/webkit/WebView;Ljava/lang/String;)V", "GetOnReceivedTitle_Landroid_webkit_WebView_Ljava_lang_String_Handler")>]
abstract member OnReceivedTitle : Android.Webkit.WebView * string -> unit
override this.OnReceivedTitle : Android.Webkit.WebView * string -> unit

Parameters

view
WebView

The WebView that initiated the callback.

title
String

A String containing the new title of the document.

Attributes

Remarks

Notify the host application of a change in the document title.

Java documentation for android.webkit.WebChromeClient.onReceivedTitle(android.webkit.WebView, java.lang.String).

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