Udostępnij za pośrednictwem


WebSettings.SetSupportMultipleWindows(Boolean) Method

Definition

Sets whether the WebView whether supports multiple windows.

[Android.Runtime.Register("setSupportMultipleWindows", "(Z)V", "GetSetSupportMultipleWindows_ZHandler")]
public abstract void SetSupportMultipleWindows (bool support);
[<Android.Runtime.Register("setSupportMultipleWindows", "(Z)V", "GetSetSupportMultipleWindows_ZHandler")>]
abstract member SetSupportMultipleWindows : bool -> unit

Parameters

support
Boolean

whether to support multiple windows

Attributes

Remarks

Sets whether the WebView whether supports multiple windows. If set to true, WebChromeClient#onCreateWindow must be implemented by the host application. The default is false.

Java documentation for android.webkit.WebSettings.setSupportMultipleWindows(boolean).

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