IPluginStub.GetEmbeddedView(Int32, Context) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個自訂嵌入的視圖來繪製外掛。
[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)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。