public static interface ObservationPoster.PostCallback
Modifier and Type | Method and Description |
---|---|
void |
onPostError(int code,
java.lang.Exception e)
Called if there was an error posting the observations.
|
void |
onPostOK(int code,
java.util.Map<java.lang.String,java.lang.String> response)
This indicates that observations where posted
successfully.
|
void onPostOK(int code, java.util.Map<java.lang.String,java.lang.String> response)
code
- HTTP response code (2xx)response
- response parsed from transaction, or nullvoid onPostError(int code, java.lang.Exception e)
code
- HTTP response code, or -1e
- any Exception thrown