Udostępnij za pośrednictwem


AppWidgetManager.ExtraAppwidgetPreview Field

Definition

An extra that can be passed to #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

Field Value

Attributes

Remarks

An extra that can be passed to #requestPinAppWidget(ComponentName, Bundle, PendingIntent). This would allow the launcher app to present a custom preview to the user.

The value should be a RemoteViews similar to what is used with #updateAppWidget calls.

Java documentation for android.appwidget.AppWidgetManager.EXTRA_APPWIDGET_PREVIEW.

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