共用方式為


RemoteViewsService.OnGetViewFactory(Intent) Method

Definition

To be implemented by the derived service to generate appropriate factories for the data.

[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

Parameters

intent
Intent

Returns

Attributes

Remarks

Java documentation for android.widget.RemoteViewsService.onGetViewFactory(android.content.Intent).

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