ShortcutInfo

Class of android.content.pm · ShortcutInfo.java · Android's reference

public final class ShortcutInfo implements android.os.Parcelable

A launcher shortcut of the app.

Nested types

Fields

public static final int DISABLED_REASON_NOT_DISABLED = 0 source
public static final int DISABLED_REASON_BY_APP = 1 source
public static final android.os.Parcelable.Creator<ShortcutInfo> CREATOR source
public static final int SURFACE_LAUNCHER = 1 source

Methods

public String getId() source
public String getPackage() source
public ComponentName getActivity() source
public Set<String> getCategories() source
public CharSequence getShortLabel() source
public CharSequence getLongLabel() source
public CharSequence getDisabledMessage() source
public int getDisabledReason() source
public Intent getIntent() source
public Intent[] getIntents() source
public PersistableBundle getExtras() source
public LocusId getLocusId() source
public int getRank() source
public long getLastChangedTimestamp() source
public UserHandle getUserHandle() source
public boolean isDynamic() source
public boolean isPinned() source
public boolean isCached() source
public boolean isDeclaredInManifest() source
public boolean isImmutable() source
public boolean isEnabled() source
public boolean isExcludedFromSurfaces(int surface) source
public int getExcludedFromSurfaces() source
public boolean hasKeyFieldsOnly() source
public int describeContents() source
public void writeToParcel(android.os.Parcel dest, int flags) source

Made 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.