語言

Intent.ActionCreateShortcut 欄位

定義

活動動作:建立捷徑。

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

欄位值

實作

屬性

備註

活動動作:建立捷徑。

輸入:沒有。

輸出:代表 android.content.pm.ShortcutInfo 結果的意圖。

為了相容舊版 Android,意圖中也可能包含三個額外功能:SHORTCUT_INTENT(值:意圖)、SHORTCUT_NAME(值:字串)、SHORTCUT_ICON(值:點陣圖)或 SHORTCUT_ICON_RESOURCE(值:ShortcutIconResource)。

Java 文件 android.content.Intent.ACTION_CREATE_SHORTCUT。

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

適用於

另請參閱