ShortcutInfo.Rank Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
"Rank" of a shortcut, which is a non-negative, sequential value that's unique for each
#getActivity
for each of the two types of shortcuts (static and dynamic).
public int Rank { [Android.Runtime.Register("getRank", "()I", "", ApiSince=25)] get; }
[<get: Android.Runtime.Register("getRank", "()I", "", ApiSince=25)>]
member this.Rank : int
Property Value
- Attributes
Remarks
"Rank" of a shortcut, which is a non-negative, sequential value that's unique for each #getActivity
for each of the two types of shortcuts (static and dynamic).
<em>Floating shortcuts</em>, or shortcuts that are neither static nor dynamic, will all have rank 0, because they aren't sorted.
See the ShortcutManager
's class javadoc for details.
Java documentation for android.content.pm.ShortcutInfo.getRank()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.