public class ActionClickData
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLICK |
static android.os.Parcelable.Creator<ActionClickData> |
CREATOR |
static java.lang.String |
LONG_CLICK |
Constructor and Description |
---|
ActionClickData() |
ActionClickData(ActionBroadcastData broadcast,
java.lang.String actionType) |
ActionClickData(ActionClickData copy) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(ActionClickData c) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getActionType()
Get the type of click action
|
ActionBroadcastData |
getBroadcast() |
int |
getId() |
boolean |
hasBroadcast() |
int |
hashCode() |
boolean |
isValid() |
boolean |
shouldDismissMenu()
Get whether or not this action should dismiss the menu it's part of
if applicable
|
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel parcel,
int flags) |
public static final java.lang.String CLICK
public static final java.lang.String LONG_CLICK
public static final android.os.Parcelable.Creator<ActionClickData> CREATOR
public ActionClickData()
public ActionClickData(ActionBroadcastData broadcast, java.lang.String actionType)
public ActionClickData(ActionClickData copy)
public java.lang.String getActionType()
public boolean shouldDismissMenu()
public ActionBroadcastData getBroadcast()
public boolean hasBroadcast()
public boolean isValid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean equals(ActionClickData c)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int getId()
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel parcel, int flags)
writeToParcel
in interface android.os.Parcelable