Condividi tramite


IPluginStub.GetEmbeddedView(Int32, Context) Method

Definition

Return a custom embedded view to draw the plugin.

[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

Parameters

NPP
Int32

The native NPP instance.

context
Context

The current application's Context.

Returns

A custom View that will be managed by WebView.

Attributes

Remarks

Return a custom embedded view to draw the plugin.

Java documentation for android.webkit.PluginStub.getEmbeddedView(int, android.content.Context).

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