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
意图
返回
要 RemoteViewsService.IRemoteViewsFactory 与指定意向关联。
- 特性
注解
Java文档android.widget.RemoteViewsService.onGetViewFactory(android.content.Intent)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。