setDynamicShortcuts

fun setDynamicShortcuts(shortcutInfoCompat: List<ShortcutInfoCompat>, context: Context? = null)

Publish the list of shortcuts. All existing dynamic shortcuts from the caller app will be replaced. If there are already pinned shortcuts with the same IDs, the mutable pinned shortcuts are updated.

Since

0.5.1

See also