public class AdAction
extends java.lang.Object
implements android.os.Parcelable
| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<AdAction> |
CREATOR |
| Constructor and Description |
|---|
AdAction(ActionType AT)
Initialize action with an
ActionType |
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
ActionType |
getActionType()
Returns the
ActionType of the action |
java.lang.String |
getCustomData() |
java.lang.String |
getInstallString()
Get the install url for the action
|
java.lang.String |
getNumberString()
Get the phone number for the action as a string
|
java.lang.String |
getSkypeURL() |
java.lang.String |
getTrailingAudioUrl() |
java.lang.String |
getWebURLString()
Get the URL for the action
|
int |
hashCode() |
boolean |
hasTrailingAudio() |
boolean |
isActionType(ActionType anotherActionType)
Compare action's
ActionType to another and returns true if they are equal,
false if they are not |
void |
setCustomData(java.lang.String customData) |
void |
setInstallString(java.lang.String install)
Set the install url for the action
|
void |
setNumberString(java.lang.String number)
Set the phone number for the action as a string.
|
void |
setSkypeURL(java.lang.String skypeURL) |
void |
setTrailingAudioUrl(java.lang.String trailingAudioUrl) |
void |
setWebURLString(java.lang.String url)
Set the URL for the action
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<AdAction> CREATOR
public AdAction(ActionType AT)
ActionTypeAT - - Action Typepublic int describeContents()
describeContents in interface android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel in interface android.os.Parcelablepublic ActionType getActionType()
ActionType of the actionActionType for the actionpublic void setNumberString(java.lang.String number)
number - for the actionpublic java.lang.String getNumberString()
public void setWebURLString(java.lang.String url)
public java.lang.String getWebURLString()
public void setInstallString(java.lang.String install)
public java.lang.String getInstallString()
public boolean isActionType(ActionType anotherActionType)
ActionType to another and returns true if they are equal,
false if they are notanotherActionType - Action type to check.ActionTypepublic java.lang.String getSkypeURL()
public void setSkypeURL(java.lang.String skypeURL)
public java.lang.String getTrailingAudioUrl()
public void setTrailingAudioUrl(java.lang.String trailingAudioUrl)
public boolean hasTrailingAudio()
public java.lang.String getCustomData()
public void setCustomData(java.lang.String customData)
public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object