createPinnedShortcut
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.
Since
0.5.1
Parameters
shortcutId
Only id for shortcut.
shortcutName
The default value of the AppUtils.getAppName.
shortcutIcon
The default value of the AppUtils.getAppBitmap.
shortcutResultIntent