次の方法で共有


WebChromeClient.OnShowCustomView Method

Definition

Overloads

OnShowCustomView(View, WebChromeClient+ICustomViewCallback)

Notify the host application that the current page would like to show a custom View in a particular orientation.

OnShowCustomView(View, ScreenOrientation, WebChromeClient+ICustomViewCallback)
Obsolete.

Notify the host application that the current page would like to show a custom View in a particular orientation.

OnShowCustomView(View, WebChromeClient+ICustomViewCallback)

Notify the host application that the current page would like to show a custom View in a particular orientation.

[Android.Runtime.Register("onShowCustomView", "(Landroid/view/View;Landroid/webkit/WebChromeClient$CustomViewCallback;)V", "GetOnShowCustomView_Landroid_view_View_Landroid_webkit_WebChromeClient_CustomViewCallback_Handler")]
public virtual void OnShowCustomView (Android.Views.View? view, Android.Webkit.WebChromeClient.ICustomViewCallback? callback);
[<Android.Runtime.Register("onShowCustomView", "(Landroid/view/View;Landroid/webkit/WebChromeClient$CustomViewCallback;)V", "GetOnShowCustomView_Landroid_view_View_Landroid_webkit_WebChromeClient_CustomViewCallback_Handler")>]
abstract member OnShowCustomView : Android.Views.View * Android.Webkit.WebChromeClient.ICustomViewCallback -> unit
override this.OnShowCustomView : Android.Views.View * Android.Webkit.WebChromeClient.ICustomViewCallback -> unit

Parameters

view
View

is the View object to be shown.

callback
WebChromeClient.ICustomViewCallback

is the callback to be invoked if and when the view is dismissed.

Attributes

Remarks

Java documentation for android.webkit.WebChromeClient.onShowCustomView(android.view.View, int, android.webkit.CustomViewCallback).

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

OnShowCustomView(View, ScreenOrientation, WebChromeClient+ICustomViewCallback)

Caution

deprecated

Notify the host application that the current page would like to show a custom View in a particular orientation.

[Android.Runtime.Register("onShowCustomView", "(Landroid/view/View;ILandroid/webkit/WebChromeClient$CustomViewCallback;)V", "GetOnShowCustomView_Landroid_view_View_ILandroid_webkit_WebChromeClient_CustomViewCallback_Handler")]
[System.Obsolete("deprecated")]
public virtual void OnShowCustomView (Android.Views.View? view, Android.Content.PM.ScreenOrientation requestedOrientation, Android.Webkit.WebChromeClient.ICustomViewCallback? callback);
[<Android.Runtime.Register("onShowCustomView", "(Landroid/view/View;ILandroid/webkit/WebChromeClient$CustomViewCallback;)V", "GetOnShowCustomView_Landroid_view_View_ILandroid_webkit_WebChromeClient_CustomViewCallback_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member OnShowCustomView : Android.Views.View * Android.Content.PM.ScreenOrientation * Android.Webkit.WebChromeClient.ICustomViewCallback -> unit
override this.OnShowCustomView : Android.Views.View * Android.Content.PM.ScreenOrientation * Android.Webkit.WebChromeClient.ICustomViewCallback -> unit

Parameters

view
View

is the View object to be shown.

requestedOrientation
ScreenOrientation

An orientation constant as used in ActivityInfo#screenOrientation ActivityInfo.screenOrientation.

callback
WebChromeClient.ICustomViewCallback

is the callback to be invoked if and when the view is dismissed.

Attributes

Remarks

Java documentation for android.webkit.WebChromeClient.onShowCustomView(android.view.View, int, android.webkit.CustomViewCallback).

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