语言

IPluginStub.GetEmbeddedView(Int32, Context) 方法

定义

返回用于绘制插件的自定义嵌入视图。

[Android.Runtime.Register("getEmbeddedView", "(ILandroid/content/Context;)Landroid/view/View;", "GetGetEmbeddedView_ILandroid_content_Context_Handler:Android.Webkit.IPluginStubInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public Android.Views.View? GetEmbeddedView(int NPP, Android.Content.Context? context);
[<Android.Runtime.Register("getEmbeddedView", "(ILandroid/content/Context;)Landroid/view/View;", "GetGetEmbeddedView_ILandroid_content_Context_Handler:Android.Webkit.IPluginStubInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member GetEmbeddedView : int * Android.Content.Context -> Android.Views.View

参数

NPP
Int32

本机 NPP 实例。

context
Context

当前应用程序的上下文。

返回

将由 WebView 管理的自定义视图。

属性

注解

返回用于绘制插件的自定义嵌入视图。

Java文档android.webkit.PluginStub.getEmbeddedView(int, android.content.Context)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于