setIcon

@NonNull
open fun setIcon(icon: IconCompat): @NonNull ShortcutInfoCompat.Builder(source)

Sets an icon of a shortcut.