public class Kit extends Object
Modifier and Type | Method and Description |
---|---|
static Kit |
fromJson(JSONObject json)
Creates a new
Kit from the provided json . |
String |
getAnalyticsURL() |
List |
getBeacons() |
List |
getGeofences()
List of geofences region defined in this kit.
|
KitMap |
getMap() |
List |
getOverlays() |
String |
getStatusToken() |
String |
getStatusURL() |
Integer |
getTeamId() |
public static Kit fromJson(JSONObject json) throws JSONException
Kit
from the provided json
.json
- JSON representation of this kit as provided by the Proximity Kit cloud.JSONException
- Thrown when there is a problem accessing elements from json
.NullPointerException
- Thrown when json
is null
.public String getAnalyticsURL()
public List getBeacons()
public KitMap getMap()
public List getOverlays()
public List getGeofences()
ProximityKitGeofenceRegion
defined in this kitpublic String getStatusToken()
public String getStatusURL()
public Integer getTeamId()