|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.todoroo.astrid.api.TaskAction
public class TaskAction
Represents an intent that can be called on a task
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface android.os.Parcelable |
|---|
android.os.Parcelable.Creator<T> |
| Field Summary | |
|---|---|
static android.os.Parcelable.Creator<TaskAction> |
CREATOR
Parcelable creator |
int |
drawable
Quick action drawable resource |
android.graphics.Bitmap |
icon
Quick action icon |
android.app.PendingIntent |
intent
Intent to call when invoking this operation |
java.lang.String |
text
Label |
| Fields inherited from interface android.os.Parcelable |
|---|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE |
| Constructor Summary | |
|---|---|
TaskAction(java.lang.String text,
android.app.PendingIntent intent,
android.graphics.Bitmap icon)
Create an EditOperation object |
|
| Method Summary | |
|---|---|
int |
describeContents()
|
void |
writeToParcel(android.os.Parcel dest,
int flags)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String text
public android.app.PendingIntent intent
public android.graphics.Bitmap icon
public int drawable
public static final android.os.Parcelable.Creator<TaskAction> CREATOR
| Constructor Detail |
|---|
public TaskAction(java.lang.String text,
android.app.PendingIntent intent,
android.graphics.Bitmap icon)
text - label to displayintent - intent to invoke. #EXTRAS_TASK_ID will be passed| Method Detail |
|---|
public int describeContents()
describeContents in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||