|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.android.activityminer.model.util.TaskFinishedEvent
public class TaskFinishedEvent
Notification type for asynchronous task which support observation for task finished events.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface android.os.Parcelable |
---|
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T> |
Field Summary | |
---|---|
String |
className
The class name of the object signaling this event |
static Parcelable.Creator<TaskFinishedEvent> |
CREATOR
The Parcelable creator. |
String |
result
Result message |
boolean |
success
Success state. |
String |
task
Task description |
Fields inherited from interface android.os.Parcelable |
---|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE |
Constructor Summary | |
---|---|
TaskFinishedEvent(Object source,
boolean success)
Constructor |
|
TaskFinishedEvent(Object source,
boolean success,
String task,
String result)
Constructor |
|
TaskFinishedEvent(Parcel source)
Constructor |
Method Summary | |
---|---|
int |
describeContents()
|
void |
writeToParcel(Parcel dest,
int flags)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final String className
public final boolean success
public final String result
public final String task
public static final Parcelable.Creator<TaskFinishedEvent> CREATOR
Constructor Detail |
---|
public TaskFinishedEvent(Object source, boolean success, String task, String result)
source
- the instance signaling this eventsuccess
- success flagtask
- task descriptionresult
- result messagepublic TaskFinishedEvent(Object source, boolean success)
source
- the instance signaling this eventsuccess
- success flagpublic TaskFinishedEvent(Parcel source)
source
- Method Detail |
---|
public int describeContents()
describeContents
in interface Parcelable
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |