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()
IPreset
getProximityUUID
in interface IPreset
public int getInterval()
IPreset
getInterval
in interface IPreset
public int getTxPower()
IPreset
getTxPower
in interface IPreset
public java.lang.String getName()
IPreset
public java.lang.String getDescription()
IPreset
getDescription
in interface IPreset
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public int describeContents()
public void writeToParcel(Parcel dest, int flags)
public static Preset from(JSONObject jsonObject)
jsonObject
- the json objectpublic int getDatabaseId()