dynamic

fun dynamic(id: String, block: ShortcutSpec.() -> Unit)

Publishes (or updates, when id already exists) a dynamic shortcut via ShortcutManagerCompat.pushDynamicShortcut. If the dynamic shortcut limit is reached, the lowest-ranked shortcut is evicted automatically.

No-op below API 25.