RemoteViewsService.OnGetViewFactory(Intent) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
由派生服務實作以產生資料所需的適當工廠。
[Android.Runtime.Register("onGetViewFactory", "(Landroid/content/Intent;)Landroid/widget/RemoteViewsService$RemoteViewsFactory;", "GetOnGetViewFactory_Landroid_content_Intent_Handler")]
public abstract Android.Widget.RemoteViewsService.IRemoteViewsFactory? OnGetViewFactory(Android.Content.Intent? intent);
[<Android.Runtime.Register("onGetViewFactory", "(Landroid/content/Intent;)Landroid/widget/RemoteViewsService$RemoteViewsFactory;", "GetOnGetViewFactory_Landroid_content_Intent_Handler")>]
abstract member OnGetViewFactory : Android.Content.Intent -> Android.Widget.RemoteViewsService.IRemoteViewsFactory
參數
- intent
- Intent
意圖
傳回
這是工廠運作的成果。
- 屬性
備註
Java 文件 android.widget.RemoteViewsService.onGetViewFactory(android.content.Intent)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。