Class of android.content.pm · ShortcutInfo.java · Android's reference
public final class ShortcutInfo implements android.os.Parcelable
A launcher shortcut of the app.
public static final int DISABLED_REASON_NOT_DISABLED = 0 sourcepublic static final int DISABLED_REASON_BY_APP = 1 sourcepublic static final android.os.Parcelable.Creator<ShortcutInfo> CREATOR sourcepublic static final int SURFACE_LAUNCHER = 1 sourcepublic String getId() sourcepublic String getPackage() sourcepublic ComponentName getActivity() sourcepublic Set<String> getCategories() sourcepublic CharSequence getShortLabel() sourcepublic CharSequence getLongLabel() sourcepublic CharSequence getDisabledMessage() sourcepublic int getDisabledReason() sourcepublic Intent getIntent() sourcepublic Intent[] getIntents() sourcepublic PersistableBundle getExtras() sourcepublic LocusId getLocusId() sourcepublic int getRank() sourcepublic long getLastChangedTimestamp() sourcepublic UserHandle getUserHandle() sourcepublic boolean isDynamic() sourcepublic boolean isPinned() sourcepublic boolean isCached() sourcepublic boolean isDeclaredInManifest() sourcepublic boolean isImmutable() sourcepublic boolean isEnabled() sourcepublic boolean isExcludedFromSurfaces(int surface) sourcepublic int getExcludedFromSurfaces() sourcepublic boolean hasKeyFieldsOnly() sourcepublic int describeContents() sourcepublic void writeToParcel(android.os.Parcel dest, int flags) sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.