ShortcutManager.PushDynamicShortcut(ShortcutInfo) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
發佈一個動態捷徑。
[Android.Runtime.Register("pushDynamicShortcut", "(Landroid/content/pm/ShortcutInfo;)V", "GetPushDynamicShortcut_Landroid_content_pm_ShortcutInfo_Handler", ApiSince=30)]
public virtual void PushDynamicShortcut(Android.Content.PM.ShortcutInfo shortcut);
[<Android.Runtime.Register("pushDynamicShortcut", "(Landroid/content/pm/ShortcutInfo;)V", "GetPushDynamicShortcut_Landroid_content_pm_ShortcutInfo_Handler", ApiSince=30)>]
abstract member PushDynamicShortcut : Android.Content.PM.ShortcutInfo -> unit
override this.PushDynamicShortcut : Android.Content.PM.ShortcutInfo -> unit
參數
- shortcut
- ShortcutInfo
- 屬性
備註
發佈一個動態捷徑。 如果已經有動態或固定的捷徑與 ID 相同,每個可變捷徑都會被更新。
此方法適用於貼有捷徑 ID 的通知;為了確保捷徑存在且 up-to日期,且不需要明確處理捷徑數量限制。
Java 文件 android.content.pm.ShortcutManager.pushDynamicShortcut(android.content.pm.ShortcutInfo)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。