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 <any> |
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(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(Parcel dest,
int flags) |
public static final <any> 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
android.database.sqlite.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.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.util.UUID getId()
IAction
public Proximity getProximity()
IAction
getProximity
in interface IAction
public IAction.ActionType getType()
IAction
public IDevice getDevice()
IAction
public int getContentLength()
IContentAction
getContentLength
in interface IContentAction
public java.lang.String getContentType()
IContentAction
getContentType
in interface IContentAction
public java.lang.String getContentUrl()
IContentAction
getContentUrl
in interface IContentAction
public ContentCategory getContentCategory()
IContentAction
getContentCategory
in interface IContentAction
public void writeToParcel(Parcel dest, int flags)
public static ContentAction from(JSONObject jsonObject)
jsonObject
- the json objectpublic int getDatabaseId()
public int describeContents()