Compartilhar via


Intent.ActionCreateShortcut Field

Definition

Activity Action: Creates a shortcut.

[Android.Runtime.Register("ACTION_CREATE_SHORTCUT")]
public const string ActionCreateShortcut;
[<Android.Runtime.Register("ACTION_CREATE_SHORTCUT")>]
val mutable ActionCreateShortcut : string

Field Value

Implements

Attributes

Remarks

Activity Action: Creates a shortcut.

Input: Nothing.

Output: An Intent representing the android.content.pm.ShortcutInfo result.

For compatibility with older versions of android the intent may also contain three extras: SHORTCUT_INTENT (value: Intent), SHORTCUT_NAME (value: String), and SHORTCUT_ICON (value: Bitmap) or SHORTCUT_ICON_RESOURCE (value: ShortcutIconResource).

Java documentation for android.content.Intent.ACTION_CREATE_SHORTCUT.

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

See also