共用方式為


WebChromeClient.OnHideCustomView Method

Definition

Notify the host application that the current page has exited full screen mode.

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

Remarks

Notify the host application that the current page has exited full screen mode. The host application must hide the custom View (the View which was previously passed to #onShowCustomView(View, CustomViewCallback) onShowCustomView()). After this call, web content will render in the original WebView again.

<p class="note"><b>Note:</b> if overriding this method, the application must also override #onShowCustomView(View, CustomViewCallback) onShowCustomView().

Java documentation for android.webkit.WebChromeClient.onHideCustomView().

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