android.content
Class Intent.ShortcutIconResource

java.lang.Object
  extended by android.content.Intent.ShortcutIconResource
All Implemented Interfaces:
Parcelable
Enclosing class:
Intent

public static class Intent.ShortcutIconResource
extends Object
implements Parcelable


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
static Parcelable.Creator<Intent.ShortcutIconResource> CREATOR
           
 String packageName
           
 String resourceName
           
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
Intent.ShortcutIconResource()
           
 
Method Summary
 int describeContents()
           
static Intent.ShortcutIconResource fromContext(Context context, int resourceId)
           
 String toString()
           
 void writeToParcel(Parcel dest, int flags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

packageName

public String packageName

resourceName

public String resourceName

CREATOR

public static final Parcelable.Creator<Intent.ShortcutIconResource> CREATOR
Constructor Detail

Intent.ShortcutIconResource

public Intent.ShortcutIconResource()
Method Detail

fromContext

public static Intent.ShortcutIconResource fromContext(Context context,
                                                      int resourceId)

describeContents

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

writeToParcel

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

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012. All Rights Reserved.