java.lang.Object | |
↳ | android.app.ActivityManager.TaskDescription |
Information you can set and retrieve about the current activity within the recent task list.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
android.os.Parcelable
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates the TaskDescription to the specified values.
| |||||||||||
Creates the TaskDescription to the specified values.
| |||||||||||
Creates the TaskDescription to the specified values.
| |||||||||||
Creates an empty TaskDescription.
| |||||||||||
Creates a copy of another TaskDescription.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
| |||||||||||
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
|
Creates the TaskDescription to the specified values.
label | A label and description of the current state of this task. |
---|---|
icon | An icon that represents the current state of this task. |
colorPrimary | A color to override the theme's primary color. This color must be opaque. |
Creates the TaskDescription to the specified values.
label | A label and description of the current state of this activity. |
---|---|
icon | An icon that represents the current state of this activity. |
Creates the TaskDescription to the specified values.
label | A label and description of the current state of this activity. |
---|
Creates a copy of another TaskDescription.
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
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 .
|