|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.todoroo.astrid.api.SyncAction
public class SyncAction
Represents an intent that can be called to perform synchronization
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface android.os.Parcelable |
|---|
android.os.Parcelable.Creator<T> |
| Field Summary | |
|---|---|
static android.os.Parcelable.Creator<SyncAction> |
CREATOR
Parcelable creator |
android.app.PendingIntent |
intent
Intent to call when invoking this operation |
java.lang.String |
label
Label |
| Fields inherited from interface android.os.Parcelable |
|---|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE |
| Constructor Summary | |
|---|---|
SyncAction(java.lang.String label,
android.app.PendingIntent intent)
Create an EditOperation object |
|
| Method Summary | |
|---|---|
int |
describeContents()
|
boolean |
equals(java.lang.Object o)
We consider two sync actions equal if target package is identical and the labels are the same. |
int |
hashCode()
|
java.lang.String |
toString()
Returns the label of this action |
void |
writeToParcel(android.os.Parcel dest,
int flags)
|
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String label
public android.app.PendingIntent intent
public static final android.os.Parcelable.Creator<SyncAction> CREATOR
| Constructor Detail |
|---|
public SyncAction(java.lang.String label,
android.app.PendingIntent intent)
label - label to displayintent - intent to invoke| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic 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 | |||||||||