Public Member Functions | |
MSPlace (long placeID, String name, String address, double latitude, double longitude, float radius) | |
long | getPlaceID () |
String | getName () |
double | getLatitude () |
double | getLongitude () |
float | getRadius () |
String | getAddress () |
void | onConnected (Bundle bundle) |
void | onConnectionSuspended (int i) |
void | onConnectionFailed (ConnectionResult connectionResult) |
void | onResult (Status status) |
int | describeContents () |
MSPlace (Parcel p) | |
void | writeToParcel (Parcel dest, int flags) |
Public Member Functions inherited from com.mobstac.beaconstac.models.ModelBase | |
ModelBase (Object...objects) | |
Static Public Member Functions | |
static String | getCreateString () |
static String[] | getAllColumns () |
static String | getTableName () |
Static Public Attributes | |
static final String | TAG |
static final Creator< MSPlace > | CREATOR |
Protected Member Functions | |
MSPlace (Context context) | |
void | syncPlacesWithServer () |
ArrayList< MSPlace > | getAllPlaces () |
void | startGeofenceMonitoring () |
void | stopGeofenceMonitoring () |
synchronized void | buildGoogleApiClient () |
Protected Attributes | |
GoogleApiClient | mGoogleApiClient |
ArrayList< Geofence > | mGeofenceList |
Additional Inherited Members | |
Static Protected Attributes inherited from com.mobstac.beaconstac.models.ModelBase | |
static final String | idString = "_id" |
static final String[] | base_columns = { idString } |
Created by garimabatra on 6/23/15.
|
protected |
Initialization of MSPlace model
context |
com.mobstac.beaconstac.core.MSPlace.MSPlace | ( | Parcel | p | ) |
Parcealable constructor
|
protected |
Fetches places from local DB
|
static |
|
protected |
Method to register all places in DB for geofence monitoring
|
protected |
Method to stop monitoring for all geofences
|
protected |
Fetches the list of places from server and stores in the local DB
|
static |
|
protected |
The list of geofences used in this sample.
|
protected |
Provides the entry point to Google Play services.
|
static |