public final class ThingActionData
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<ThingActionData> |
CREATOR |
| Constructor and Description |
|---|
ThingActionData(java.lang.String message,
java.lang.String type)
ThingActionData constructor. |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
java.lang.String |
getMessage()
Returns message which handled in the application.
|
java.lang.String |
getType()
Returns type of
ThingActionData defined by user. |
void |
setMessage(java.lang.String message)
Sets
ThingActionData message. |
void |
setType(java.lang.String type)
Sets type of
ThingActionData defined by user. |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<ThingActionData> CREATOR
public ThingActionData(java.lang.String message,
java.lang.String type)
ThingActionData constructor.message - : To be handled from application.type - : Action type defined by user.public java.lang.String getMessage()
String messagepublic void setMessage(java.lang.String message)
ThingActionData message.message - public java.lang.String getType()
ThingActionData defined by user.String typepublic void setType(java.lang.String type)
ThingActionData defined by user.type - public int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelable