Modifier and Type | Class and Description |
---|---|
static class |
Counters.Builder
Builder class for creating
Counters |
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<Counters> |
CREATOR |
protected int |
databaseId
The Database id.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(java.lang.Object o) |
static ICounters |
from(org.json.JSONObject jsonObject)
Creates
ICounters from json object |
int |
getDatabaseId()
Gets database id.
|
int |
getPrivateDevicesCount()
Gets count of private devices
|
int |
getPrivateVenuesCount()
Gets count of private venues
|
int |
getPublicDevicesCount()
Gets count of devices shared to public infrastructure
|
int |
getPublicVenuesCount()
Gets count of venues that are shared to public infrastructure
|
int |
getSharedDevicesCount()
Gets count of devices that are shared
|
int |
getSharedVenuesCount()
Gets count of venues that are shared
|
int |
getSharedWithMeDevicesCount()
Gets count of devices that are shared to you
|
int |
getSharedWithMeVenuesCount()
Gets count of venues that are shared to you
|
int |
hashCode() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<Counters> CREATOR
protected final int databaseId
SQLiteDatabase
). If you
do not need to use it, ignore it during model building.public int getPrivateDevicesCount()
getPrivateDevicesCount
in interface ICounters
public int getPublicDevicesCount()
getPublicDevicesCount
in interface ICounters
public int getSharedDevicesCount()
getSharedDevicesCount
in interface ICounters
public int getSharedWithMeDevicesCount()
getSharedWithMeDevicesCount
in interface ICounters
public int getPrivateVenuesCount()
getPrivateVenuesCount
in interface ICounters
public int getPublicVenuesCount()
getPublicVenuesCount
in interface ICounters
public int getSharedVenuesCount()
getSharedVenuesCount
in interface ICounters
public int getSharedWithMeVenuesCount()
getSharedWithMeVenuesCount
in interface ICounters
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void writeToParcel(android.os.Parcel dest, int flags)
public static ICounters from(org.json.JSONObject jsonObject)
ICounters
from json objectjsonObject
- the json objectpublic int getDatabaseId()
public int describeContents()