語言

AppWidgetManager.ExtraAppwidgetPreview 欄位

定義

一個可以傳遞給 #requestPinAppWidget(ComponentName, Bundle, PendingIntent)的額外。

[Android.Runtime.Register("EXTRA_APPWIDGET_PREVIEW", ApiSince=26)]
public const string ExtraAppwidgetPreview;
[<Android.Runtime.Register("EXTRA_APPWIDGET_PREVIEW", ApiSince=26)>]
val mutable ExtraAppwidgetPreview : string

欄位值

屬性

備註

一個可以傳遞給 #requestPinAppWidget(ComponentName, Bundle, PendingIntent)的額外。 這樣啟動器應用程式就能向使用者呈現自訂預覽。

這個數值應該和 RemoteViews 通話 #updateAppWidget 用的差不多。

Java 文件 android.appwidget.AppWidgetManager.EXTRA_APPWIDGET_PREVIEW

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

適用於