public class Preset extends java.lang.Object implements IPreset
Preset.Builder.| Modifier and Type | Class and Description |
|---|---|
static class |
Preset.Builder
Preset Builder.
|
| 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 obj) |
static Preset |
from(JSONObject jsonObject)
Creates new Preset instance from JSON content.
|
int |
getDatabaseId()
Gets database id.
|
java.lang.String |
getDescription()
Gets description.
|
int |
getInterval()
Gets interval.
|
java.lang.String |
getName()
Gets name.
|
java.util.UUID |
getProximityUUID()
Gets proximity uUID.
|
int |
getTxPower()
Gets tx power.
|
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 java.util.UUID getProximityUUID()
IPresetgetProximityUUID in interface IPresetpublic int getInterval()
IPresetgetInterval in interface IPresetpublic int getTxPower()
IPresetgetTxPower in interface IPresetpublic java.lang.String getName()
IPresetpublic java.lang.String getDescription()
IPresetgetDescription in interface IPresetpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int describeContents()
public void writeToParcel(Parcel dest,
int flags)
public static Preset from(JSONObject jsonObject)
jsonObject - the json objectpublic int getDatabaseId()