java.lang.Object | |
↳ | android.content.Intent.ShortcutIconResource |
Represents a shortcut/live folder icon resource.
[Expand]
Inherited Constants
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
CREATOR | Used to read a ShortcutIconResource from a Parcel. | |||||||||
|
packageName | The package name of the application containing the icon. | |||||||||
|
resourceName | The resource name of the icon, including package, name and type. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
No special parcel contents.
|
||||||||||
|
Creates a new ShortcutIconResource for the specified context and resource
identifier.
|
||||||||||
|
Returns a string containing a concise, human-readable description of this
object.
|
||||||||||
|
Flatten this object in to a Parcel.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
|||||||||||
From interface
android.os.Parcelable
|
Used to read a ShortcutIconResource from a Parcel.
The package name of the application containing the icon.
The resource name of the icon, including package, name and type.
No special parcel contents.
Creates a new ShortcutIconResource for the specified context and resource identifier.
context | The context of the application. |
---|---|
resourceId | The resource idenfitier for the icon. |
Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
getClass().getName() + '@' + Integer.toHexString(hashCode())
See
Writing a useful
toString
method
if you intend implementing your own
toString
method.
Flatten this object in to a Parcel.
dest | The Parcel in which the object should be written. |
---|---|
flags |
Additional flags about how the object should be written.
May be 0 or
PARCELABLE_WRITE_RETURN_VALUE
.
|