Udostępnij za pośrednictwem


LauncherApps.ActionConfirmPinAppwidget Field

Definition

Activity Action: For the default launcher to show the confirmation dialog to create a pinned app widget.

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

Field Value

Attributes

Remarks

Activity Action: For the default launcher to show the confirmation dialog to create a pinned app widget.

See the android.appwidget.AppWidgetManager#requestPinAppWidget javadoc for details.

Use #getPinItemRequest(Intent) to get a PinItemRequest object, and call PinItemRequest#accept(Bundle) if the user accepts. If the user doesn't accept, no further action is required.

Java documentation for android.content.pm.LauncherApps.ACTION_CONFIRM_PIN_APPWIDGET.

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