public static class Config.BeaconHandler
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.util.List<org.json.JSONObject> |
INVALID_CONFIG |
| Constructor and Description |
|---|
BeaconHandler() |
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
bodyForCreateBeacon(Beacon beacon) |
java.lang.String |
firmwareVersion(Beacon beacon) |
java.util.List<org.json.JSONObject> |
gattForBeacon(Config.Beacon beacon,
java.lang.String firmwareVersion,
org.json.JSONObject config) |
void |
postCreateBeacon(Config.Beacon configBeacon,
Beacon peripheralBeacon,
Completion completion) |
void |
unlockBeacon(Beacon beacon,
Completion completion) |
public void unlockBeacon(Beacon beacon, Completion completion)
public org.json.JSONObject bodyForCreateBeacon(Beacon beacon)
public void postCreateBeacon(Config.Beacon configBeacon, Beacon peripheralBeacon, Completion completion)
public java.util.List<org.json.JSONObject> gattForBeacon(Config.Beacon beacon, java.lang.String firmwareVersion, org.json.JSONObject config)
public java.lang.String firmwareVersion(Beacon beacon)