public class ContentAction extends java.lang.Object implements IContentAction
ContentAction.Builder.| Modifier and Type | Class and Description |
|---|---|
static class |
ContentAction.Builder
The type Builder.
|
IAction.ActionType| Modifier and Type | Field and Description |
|---|---|
static android.os.Parcelable.Creator<ContentAction> |
CREATOR
Parcelable CREATOR constant.
|
protected int |
databaseId
The Database id.
|
| Modifier and Type | Method and Description |
|---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
static ContentAction |
from(org.json.JSONObject jsonObject)
Creates new Content action from JSON content and Content data.
|
ContentCategory |
getContentCategory()
Gets content category.
|
int |
getContentLength()
Gets content length.
|
java.lang.String |
getContentType()
Gets content type.
|
java.lang.String |
getContentUrl()
Gets content url.
|
int |
getDatabaseId()
Gets database id.
|
IDevice |
getDevice()
Gets Proximity Source.
|
java.util.UUID |
getId()
Gets Action id.
|
Proximity |
getProximity()
Gets proximity.
|
IAction.ActionType |
getType()
Gets Action type.
|
int |
hashCode() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<ContentAction> CREATOR
StackOverflowError
FileData as its member will be recreated
with this member set to null. Please organise the access to the data in different way.
protected final int databaseId
SQLiteDatabase). If you
do not need to use it, ignore it during model building.public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.util.UUID getId()
IActionpublic Proximity getProximity()
IActiongetProximity in interface IActionpublic IAction.ActionType getType()
IActionpublic IDevice getDevice()
IActionpublic int getContentLength()
IContentActiongetContentLength in interface IContentActionpublic java.lang.String getContentType()
IContentActiongetContentType in interface IContentActionpublic java.lang.String getContentUrl()
IContentActiongetContentUrl in interface IContentActionpublic ContentCategory getContentCategory()
IContentActiongetContentCategory in interface IContentActionpublic void writeToParcel(android.os.Parcel dest,
int flags)
public static ContentAction from(org.json.JSONObject jsonObject)
jsonObject - the json objectpublic int getDatabaseId()
public int describeContents()