Package-level declarations
Functions
Link copied to clipboard
Publish the list of dynamic shortcuts. If there are already dynamic or pinned shortcuts with the same IDs, each mutable shortcut is updated.
Link copied to clipboard
fun createPinnedShortcut(shortcutId: String, shortcutName: String? = null, shortcutIcon: Bitmap? = null, shortcutResultIntent: (Intent) -> PendingIntent? = null, shortcutContext: Context? = null, shortcutIntent: () -> Intent)
Creating a pinned shortcut for your app.
Link copied to clipboard
Link copied to clipboard
Delete all dynamic shortcuts from the caller app.
Link copied to clipboard
Delete dynamic shortcuts by ID.
Link copied to clipboard
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.