語言

AppWidgetHostView.UpdateAppWidget(RemoteViews) 方法

定義

將一組 RemoteViews Coming in 作為 AppWidget 提供者的更新處理。

[Android.Runtime.Register("updateAppWidget", "(Landroid/widget/RemoteViews;)V", "GetUpdateAppWidget_Landroid_widget_RemoteViews_Handler")]
public virtual void UpdateAppWidget(Android.Widget.RemoteViews? remoteViews);
[<Android.Runtime.Register("updateAppWidget", "(Landroid/widget/RemoteViews;)V", "GetUpdateAppWidget_Landroid_widget_RemoteViews_Handler")>]
abstract member UpdateAppWidget : Android.Widget.RemoteViews -> unit
override this.UpdateAppWidget : Android.Widget.RemoteViews -> unit

參數

remoteViews
RemoteViews

從提供者的遠端視圖到顯示,或 null 顯示預設視圖。

屬性

備註

將一組 RemoteViews Coming in 作為 AppWidget 提供者的更新處理。 需要時會動畫化成這些新視角

Java 文件 android.appwidget.AppWidgetHostView.updateAppWidget(android.widget.RemoteViews)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於