setRank

@NonNull
open fun setRank(rank: Int): @NonNull ShortcutInfoCompat.Builder(source)

Sets rank of a shortcut, which is a non-negative value that's used by the system to sort shortcuts. Lower value means higher importance.

See also

for details.