android.content.pm
Class ResolveInfo

java.lang.Object
  extended by android.content.pm.ResolveInfo
All Implemented Interfaces:
Parcelable

public class ResolveInfo
extends Object
implements Parcelable


Nested Class Summary
static class ResolveInfo.DisplayNameComparator
           
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
 ActivityInfo activityInfo
           
static Parcelable.Creator<ResolveInfo> CREATOR
           
 IntentFilter filter
           
 int icon
           
 boolean isDefault
           
 int labelRes
           
 int match
           
 CharSequence nonLocalizedLabel
           
 int preferredOrder
           
 int priority
           
 String resolvePackageName
           
 ServiceInfo serviceInfo
           
 int specificIndex
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
ResolveInfo()
           
 
Method Summary
 int describeContents()
           
 void dump(Printer pw, String prefix)
           
 int getIconResource()
           
 Drawable loadIcon(PackageManager pm)
           
 CharSequence loadLabel(PackageManager pm)
           
 String toString()
           
 void writeToParcel(Parcel dest, int parcelableFlags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

activityInfo

public ActivityInfo activityInfo

serviceInfo

public ServiceInfo serviceInfo

filter

public IntentFilter filter

priority

public int priority

preferredOrder

public int preferredOrder

match

public int match

specificIndex

public int specificIndex

isDefault

public boolean isDefault

labelRes

public int labelRes

nonLocalizedLabel

public CharSequence nonLocalizedLabel

icon

public int icon

resolvePackageName

public String resolvePackageName

CREATOR

public static final Parcelable.Creator<ResolveInfo> CREATOR
Constructor Detail

ResolveInfo

public ResolveInfo()
Method Detail

loadLabel

public CharSequence loadLabel(PackageManager pm)

loadIcon

public Drawable loadIcon(PackageManager pm)

getIconResource

public final int getIconResource()

dump

public void dump(Printer pw,
                 String prefix)

toString

public String toString()
Overrides:
toString in class Object

describeContents

public int describeContents()
Specified by:
describeContents in interface Parcelable

writeToParcel

public void writeToParcel(Parcel dest,
                          int parcelableFlags)
Specified by:
writeToParcel in interface Parcelable


Copyright © 2008-2012. All Rights Reserved.